33 #ifndef OR_TOOLS_ALGORITHMS_HUNGARIAN_H_ 34 #define OR_TOOLS_ALGORITHMS_HUNGARIAN_H_ 38 #include "absl/container/flat_hash_map.h" 44 const std::vector<std::vector<double> >& cost,
45 absl::flat_hash_map<int, int>* direct_assignment,
46 absl::flat_hash_map<int, int>* reverse_assignment);
50 const std::vector<std::vector<double> >& cost,
51 absl::flat_hash_map<int, int>* direct_assignment,
52 absl::flat_hash_map<int, int>* reverse_assignment);
56 #endif // OR_TOOLS_ALGORITHMS_HUNGARIAN_H_ void MaximizeLinearAssignment(const std::vector< std::vector< double > > &cost, absl::flat_hash_map< int, int > *direct_assignment, absl::flat_hash_map< int, int > *reverse_assignment)
See IMPORTANT NOTE at the top of the file.
void MinimizeLinearAssignment(const std::vector< std::vector< double > > &cost, absl::flat_hash_map< int, int > *direct_assignment, absl::flat_hash_map< int, int > *reverse_assignment)
See IMPORTANT NOTE at the top of the file.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in c...