Commit af45dedd authored by Davis King's avatar Davis King

clarified spec

parent 57f49b30
...@@ -127,15 +127,15 @@ namespace dlib ...@@ -127,15 +127,15 @@ namespace dlib
value_type factor_value ( value_type factor_value (
unsigned long idx, unsigned long idx,
bool value bool lab
) const; ) const;
/*! /*!
requires requires
- idx < number_of_nodes() - idx < number_of_nodes()
ensures ensures
- returns a value which indicates how "good" it is to assign the idx-node - returns a value which indicates how "good" it is to assign the idx-node
a label equal to value. The larger the value, the more desirable a label equal to lab. The larger the value, the more desirable
the label contained by value. the label contained by lab.
!*/ !*/
value_type factor_value_disagreement ( value_type factor_value_disagreement (
......
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