minor cleanup

This commit is contained in:
Davis King 2012-04-29 20:10:22 -04:00
parent feb1ae5e19
commit 42a6ee6fcc
1 changed files with 6 additions and 4 deletions

View File

@ -158,13 +158,15 @@ namespace dlib
}
}
long get_num_nonnegative_dimensions (
long get_num_edge_weights (
) const
/*!
ensures
- returns the number of dimensions of the solution vector which
are required to be non-negative. This is equal to the number of
dimensions for a feature vector on a graph edge.
- returns the dimensionality of the edge weight vector. It is also
important to know that when using the oca solver with this object,
you must set it to generate non-negative weights for the edge weight
part of the total weight vector. You can do this by passing get_num_edge_weights()
to the third argument to oca::operator().
!*/
{
return edge_dims;