Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
sorted.h File Reference
#include <algorithm>
#include <vector>
#include "absl/algorithm/container.h"
#include "absl/container/flat_hash_map.h"
#include "absl/container/flat_hash_set.h"
#include "google/protobuf/map.h"

Go to the source code of this file.

Namespaces

namespace  operations_research
 OR-Tools root namespace.
namespace  operations_research::math_opt

Functions

template<typename T>
std::vector< T > operations_research::math_opt::SortedSetElements (const absl::flat_hash_set< T > &elements)
template<typename K, typename V>
std::vector< K > operations_research::math_opt::MapKeys (const absl::flat_hash_map< K, V > &in_map)
template<typename K, typename V>
std::vector< K > operations_research::math_opt::MapKeys (const google::protobuf::Map< K, V > &in_map)
template<typename K, typename V>
std::vector< K > operations_research::math_opt::SortedMapKeys (const absl::flat_hash_map< K, V > &in_map)
template<typename K, typename V>
std::vector< K > operations_research::math_opt::SortedMapKeys (const google::protobuf::Map< K, V > &in_map)