MCPcopy Create free account
hub / github.com/davisking/dlib / factor_value_disagreement

Method factor_value_disagreement

dlib/test/graph_cuts.cpp:849–852  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

847 }
848
849 value_type factor_value_disagreement(unsigned long idx1, unsigned long idx2) const
850 {
851 return std::abs(factor_value(idx1+idx2)/10.0);
852 }
853 };
854
855// ----------------------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 1

absFunction · 0.85

Tested by

no test coverage detected