MCPcopy Create free account
hub / github.com/comaps/comaps / GetScore

Method GetScore

tools/openlr/router.hpp:61–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59 double GetDistance() const { return m_distance; }
60 double GetPenalty() const { return m_penalty; }
61 double GetScore() const { return m_distance + m_penalty; }
62
63 bool operator<(Score const & rhs) const;
64 bool operator>(Score const & rhs) const { return rhs < *this; }

Callers 3

GetBestCandidatePathsMethod · 0.45
operator<Method · 0.45
FindPathMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected