38#ifndef OR_TOOLS_ALGORITHMS_HUNGARIAN_H_
39#define OR_TOOLS_ALGORITHMS_HUNGARIAN_H_
43#include "absl/container/flat_hash_map.h"
44#include "absl/types/span.h"
50 absl::Span<
const std::vector<double>> cost,
51 absl::flat_hash_map<int, int>* direct_assignment,
52 absl::flat_hash_map<int, int>* reverse_assignment);
56 absl::Span<
const std::vector<double>> cost,
57 absl::flat_hash_map<int, int>* direct_assignment,
58 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.