Searched defs:SunWeightComparer (Results 1 – 1 of 1) sorted by relevance
102 struct SunWeightComparer struct105 explicit SunWeightComparer(const NodeArray<double>& weight) : m_weight(weight) { } in SunWeightComparer() function108 bool operator()(node a, node b) const { return m_weight[a] < m_weight[b]; } in operator ()()111 const NodeArray<double>& m_weight;