21 template <
class dataType>
29 virtual int run(std::vector<MatchingType> &matchings) = 0;
38 for(
int r = 0, rS0 =
rowSize; r < rS0; ++r)
39 for(
int c = 0, cS0 =
colSize; c < cS0; ++c)
43 virtual inline int setInput(std::vector<std::vector<dataType>> &C_) {
67 for(
auto vecTemp : table) {
68 const std::stringstream ss;
69 for(
auto valTemp : vecTemp) {
virtual int run(std::vector< MatchingType > &matchings)=0
virtual std::vector< std::vector< dataType > > getCostMatrix()
virtual int setInput(std::vector< std::vector< dataType > > &C_)
virtual std::vector< std::vector< dataType > > * getCostMatrixPointer()
~AssignmentSolver() override=default
virtual void clearMatrix()
std::vector< std::vector< dataType > > costMatrix
AssignmentSolver()=default
void printTableVector(std::vector< std::vector< dataType > > &table)
virtual void setBalanced(bool balanced)
Minimalist debugging class.
printMsg(debug::output::BOLD+" | | | | | . \\ | | (__| | / __/| |_| / __/|__ _|"+debug::output::ENDCOLOR, debug::Priority::PERFORMANCE, debug::LineMode::NEW, stream)