C++ Reference
C++ Reference: Graph
Detailed Description
template<typename Integer>
class operations_research::Set< Integer >
Definition at line 127 of file 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 | One = static_cast<Integer>(1) |
static constexpr Integer | Zero = static_cast<Integer>(0) |
static const int | MaxCardinality = 8 * sizeof(Integer) |
Member Typedef Documentation
◆ IntegerType
typedef Integer IntegerType |
Definition at line 130 of file hamiltonian_path.h.
Constructor & Destructor Documentation
◆ Set()
|
inlineexplicit |
Definition at line 138 of file hamiltonian_path.h.
Member Function Documentation
◆ AddElement()
|
inline |
Definition at line 155 of file hamiltonian_path.h.
◆ begin()
|
inline |
Definition at line 198 of file hamiltonian_path.h.
◆ Cardinality() [1/2]
|
inline |
Definition at line 171 of file hamiltonian_path.h.
◆ Cardinality() [2/2]
|
inline |
Definition at line 215 of file hamiltonian_path.h.
◆ Contains()
|
inline |
Definition at line 162 of file hamiltonian_path.h.
◆ ElementRank()
|
inline |
Definition at line 183 of file hamiltonian_path.h.
◆ end()
|
inline |
Definition at line 201 of file hamiltonian_path.h.
◆ FullSet()
|
inlinestatic |
Definition at line 146 of file hamiltonian_path.h.
◆ Includes()
|
inline |
Definition at line 165 of file hamiltonian_path.h.
◆ operator!=()
|
inline |
Definition at line 202 of file hamiltonian_path.h.
◆ RemoveElement()
|
inline |
Definition at line 159 of file hamiltonian_path.h.
◆ RemoveSmallestElement()
|
inline |
Definition at line 179 of file hamiltonian_path.h.
◆ Singleton()
|
inlinestatic |
Definition at line 151 of file hamiltonian_path.h.
◆ SingletonRank()
|
inline |
Definition at line 192 of file hamiltonian_path.h.
◆ SmallestElement() [1/2]
|
inline |
Definition at line 175 of file hamiltonian_path.h.
◆ SmallestElement() [2/2]
|
inline |
Definition at line 210 of file hamiltonian_path.h.
◆ SmallestSingleton()
|
inline |
Definition at line 189 of file hamiltonian_path.h.
◆ value()
|
inline |
Definition at line 144 of file hamiltonian_path.h.
Member Data Documentation
◆ MaxCardinality
|
static |
Definition at line 135 of file hamiltonian_path.h.
◆ One
|
staticconstexpr |
Definition at line 133 of file hamiltonian_path.h.
◆ Zero
|
staticconstexpr |
Definition at line 134 of file hamiltonian_path.h.
The documentation for this class was generated from the following file: