MCPcopy Create free account
hub / github.com/davisking/dlib / operator()

Method operator()

dlib/graph_utils/function_objects.h:115–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113
114 template <typename edge_type>
115 double operator() (
116 const edge_type& e
117 ) const
118 {
119 return std::exp(-gamma*e.distance());
120 }
121 };
122
123// ----------------------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 2

expFunction · 0.85
distanceMethod · 0.45

Tested by

no test coverage detected