Google OR-Tools: Domain Struct Reference
Definition at line 50 of file model.h.
#include <model.h>
Public Member Functions | |
| bool | HasOneValue () const |
| bool | empty () const |
| int64_t | Min () const |
| int64_t | Max () const |
| int64_t | Value () const |
| bool | IsAllInt64 () const |
| bool | Contains (int64_t value) const |
| bool | OverlapsIntList (const std::vector< int64_t > &vec) const |
| bool | OverlapsIntInterval (int64_t lb, int64_t ub) const |
| bool | OverlapsDomain (const Domain &other) const |
| bool | IntersectWithSingleton (int64_t value) |
| bool | IntersectWithDomain (const Domain &domain) |
| bool | IntersectWithInterval (int64_t interval_min, int64_t interval_max) |
| bool | IntersectWithListOfIntegers (absl::Span< const int64_t > integers) |
| bool | IntersectWithFloatDomain (const Domain &domain) |
| bool | RemoveValue (int64_t value) |
| bool | SetEmptyFloatDomain () |
| std::string | DebugString () const |
Static Public Member Functions | |
| static Domain | IntegerList (std::vector< int64_t > values) |
| static Domain | AllInt64 () |
| static Domain | IntegerValue (int64_t value) |
| static Domain | Interval (int64_t included_min, int64_t included_max) |
| static Domain | Boolean () |
| static Domain | SetOfIntegerList (std::vector< int64_t > values) |
| static Domain | SetOfAllInt64 () |
| static Domain | SetOfIntegerValue (int64_t value) |
| static Domain | SetOfInterval (int64_t included_min, int64_t included_max) |
| static Domain | SetOfBoolean () |
| static Domain | EmptyDomain () |
| static Domain | AllFloats () |
| static Domain | FloatValue (double value) |
| static Domain | FloatInterval (double lb, double ub) |
Public Attributes | |
| std::vector< int64_t > | values |
| bool | is_interval = false |
| bool | display_as_boolean = false |
| bool | is_a_set = false |
| bool | is_fixed_set = false |
| bool | is_float = false |
| std::vector< double > | float_values |
◆ AllFloats()
◆ AllInt64()
◆ Boolean()
◆ Contains()
◆ DebugString()
◆ empty()
◆ EmptyDomain()
◆ FloatInterval()
◆ FloatValue()
◆ HasOneValue()
◆ IntegerList()
◆ IntegerValue()
◆ IntersectWithDomain()
◆ IntersectWithFloatDomain()
◆ IntersectWithInterval()
◆ IntersectWithListOfIntegers()
◆ IntersectWithSingleton()
◆ Interval()
◆ IsAllInt64()
◆ Max()
◆ Min()
◆ OverlapsDomain()
◆ OverlapsIntInterval()
◆ OverlapsIntList()
◆ RemoveValue()
◆ SetEmptyFloatDomain()
◆ SetOfAllInt64()
◆ SetOfBoolean()
◆ SetOfIntegerList()
◆ SetOfIntegerValue()
◆ SetOfInterval()
◆ Value()
◆ display_as_boolean
◆ float_values
◆ is_a_set
◆ is_fixed_set
◆ is_float
◆ is_interval
◆ values
The documentation for this struct was generated from the following files: