5 #ifndef INDETTRACKPERFMON_STABLEMATCHINGBASE_H
6 #define INDETTRACKPERFMON_STABLEMATCHINGBASE_H
31 template<
typename T,
typename R=T >
41 const std::vector< const R* >& vRef,
45 virtual float distance(
const T&
t,
const R&
r)
const = 0;
51 const std::vector<const R*>& vRef,
52 std::vector<std::vector<float>>& dist)
const;
55 std::vector<std::vector<int>>& testPrefs,
56 std::vector<std::vector<int>>& refRankings)
const;
58 void galeShapley(
const std::vector<std::vector<int>>& testPrefs,
59 const std::vector<std::vector<int>>& refRankings,
60 const std::vector<std::vector<float>>& dist,
61 std::vector<int>& testMatch,
62 std::vector<int>& refMatch)
const;
68 #endif // > !INDETTRACKPERFMON_STABLEMATCHINGBASE_H