Commit 42a6ee6f authored by Davis King's avatar Davis King

minor cleanup

parent feb1ae5e
...@@ -158,13 +158,15 @@ namespace dlib ...@@ -158,13 +158,15 @@ namespace dlib
} }
} }
long get_num_nonnegative_dimensions ( long get_num_edge_weights (
) const ) const
/*! /*!
ensures ensures
- returns the number of dimensions of the solution vector which - returns the dimensionality of the edge weight vector. It is also
are required to be non-negative. This is equal to the number of important to know that when using the oca solver with this object,
dimensions for a feature vector on a graph edge. 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; return edge_dims;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment