Google OR-Tools: operations_research::Set< Integer > Class Template Reference
template<typename Integer>
class operations_research::Set< Integer >
Definition at line 132 of file hamiltonian_path.h.
#include <hamiltonian_path.h>
Public Types | |
| typedef Integer | IntegerType |
Public Member Functions | |
| Set (Integer n) | |
| Integer | value () const |
| Set | AddElement (int n) const |
| Set | RemoveElement (int n) const |
| bool | Contains (int n) const |
| bool | Includes (Set other) const |
| int | Cardinality () const |
| int | SmallestElement () const |
| Set | RemoveSmallestElement () const |
| int | ElementRank (int n) const |
| Set | SmallestSingleton () const |
| int | SingletonRank (Set singleton) const |
| ElementIterator< Set > | begin () const |
| ElementIterator< Set > | end () const |
| bool | operator!= (const Set &other) const |
| int | SmallestElement () const |
| int | Cardinality () const |
Static Public Member Functions | |
| static Set | FullSet (Integer card) |
| static Set | Singleton (Integer n) |
Static Public Attributes | |
| static constexpr Integer | kOne = Integer{1} |
| static constexpr Integer | kZero = Integer{0} |
| static constexpr int | kMaxCardinality = std::numeric_limits<Integer>::digits |
◆ IntegerType
template<typename Integer>
template<typename Integer>
◆ AddElement()
template<typename Integer>
◆ begin()
template<typename Integer>
◆ Cardinality() [1/2]
◆ Cardinality() [2/2]
template<typename Integer>
◆ Contains()
template<typename Integer>
◆ ElementRank()
template<typename Integer>
◆ end()
template<typename Integer>
◆ FullSet()
template<typename Integer>
◆ Includes()
template<typename Integer>
◆ operator!=()
template<typename Integer>
◆ RemoveElement()
template<typename Integer>
◆ RemoveSmallestElement()
template<typename Integer>
◆ Singleton()
template<typename Integer>
◆ SingletonRank()
template<typename Integer>
◆ SmallestElement() [1/2]
◆ SmallestElement() [2/2]
template<typename Integer>
◆ SmallestSingleton()
template<typename Integer>
◆ value()
template<typename Integer>
◆ kMaxCardinality
template<typename Integer>
◆ kOne
template<typename Integer>
◆ kZero
template<typename Integer>
The documentation for this class was generated from the following file:
- ortools/graph/hamiltonian_path.h