22#ifndef OR_TOOLS_ALGORITHMS_HUNGARIAN_H_
23#define OR_TOOLS_ALGORITHMS_HUNGARIAN_H_
27#include "absl/container/flat_hash_map.h"
28#include "absl/types/span.h"
34 absl::Span<
const std::vector<double>> cost,
35 absl::flat_hash_map<int, int>* direct_assignment,
36 absl::flat_hash_map<int, int>* reverse_assignment);
40 absl::Span<
const std::vector<double>> cost,
41 absl::flat_hash_map<int, int>* direct_assignment,
42 absl::flat_hash_map<int, int>* reverse_assignment);
In SWIG mode, we don't want anything besides these top-level includes.
void MinimizeLinearAssignment(absl::Span< const 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 MaximizeLinearAssignment(absl::Span< const 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.