Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
82230b59
"vscode:/vscode.git/clone" did not exist on "c7f2d239fe4d9ea2f0d8a86d643e52022dc929e3"
Commit
82230b59
authored
Dec 03, 2011
by
Davis King
Browse files
renamed some things
parent
8a7fb193
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
+11
-11
dlib/svm/assignment_function.h
dlib/svm/assignment_function.h
+5
-5
dlib/svm/structural_assignment_trainer.h
dlib/svm/structural_assignment_trainer.h
+3
-3
dlib/svm/structural_svm_assignment_problem.h
dlib/svm/structural_svm_assignment_problem.h
+3
-3
No files found.
dlib/svm/assignment_function.h
View file @
82230b59
...
...
@@ -20,11 +20,11 @@ namespace dlib
{
public:
typedef
typename
feature_extractor
::
lhs_
type
lhs_type
;
typedef
typename
feature_extractor
::
rhs_
type
rhs_type
;
typedef
typename
feature_extractor
::
lhs_
element
lhs_element
;
typedef
typename
feature_extractor
::
rhs_
element
rhs_element
;
typedef
std
::
pair
<
std
::
vector
<
lhs_
type
>
,
std
::
vector
<
rhs_
type
>
>
sample_type
;
typedef
std
::
pair
<
std
::
vector
<
lhs_
element
>
,
std
::
vector
<
rhs_
element
>
>
sample_type
;
typedef
std
::
vector
<
long
>
label_type
;
typedef
label_type
result_type
;
...
...
@@ -100,8 +100,8 @@ namespace dlib
)
const
{
return
force_assignment
;
}
result_type
operator
()(
const
std
::
vector
<
lhs_
type
>&
lhs
,
const
std
::
vector
<
rhs_
type
>&
rhs
const
std
::
vector
<
lhs_
element
>&
lhs
,
const
std
::
vector
<
rhs_
element
>&
rhs
)
const
/*!
ensures
...
...
dlib/svm/structural_assignment_trainer.h
View file @
82230b59
...
...
@@ -20,10 +20,10 @@ namespace dlib
class
structural_assignment_trainer
{
public:
typedef
typename
feature_extractor
::
lhs_
type
lhs_type
;
typedef
typename
feature_extractor
::
rhs_
type
rhs_type
;
typedef
typename
feature_extractor
::
lhs_
element
lhs_element
;
typedef
typename
feature_extractor
::
rhs_
element
rhs_element
;
typedef
std
::
pair
<
std
::
vector
<
lhs_
type
>
,
std
::
vector
<
rhs_
type
>
>
sample_type
;
typedef
std
::
pair
<
std
::
vector
<
lhs_
element
>
,
std
::
vector
<
rhs_
element
>
>
sample_type
;
typedef
std
::
vector
<
long
>
label_type
;
...
...
dlib/svm/structural_svm_assignment_problem.h
View file @
82230b59
...
...
@@ -25,11 +25,11 @@ namespace dlib
typedef
matrix
<
double
,
0
,
1
>
matrix_type
;
typedef
typename
feature_extractor
::
feature_vector_type
feature_vector_type
;
typedef
typename
feature_extractor
::
lhs_
type
lhs_type
;
typedef
typename
feature_extractor
::
rhs_
type
rhs_type
;
typedef
typename
feature_extractor
::
lhs_
element
lhs_element
;
typedef
typename
feature_extractor
::
rhs_
element
rhs_element
;
typedef
std
::
pair
<
std
::
vector
<
lhs_
type
>
,
std
::
vector
<
rhs_
type
>
>
sample_type
;
typedef
std
::
pair
<
std
::
vector
<
lhs_
element
>
,
std
::
vector
<
rhs_
element
>
>
sample_type
;
typedef
std
::
vector
<
long
>
label_type
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment