Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::sat::IntegerLiteral Struct Reference

Detailed Description

Definition at line 207 of file integer_base.h.

#include <integer_base.h>

Public Member Functions

 IntegerLiteral ()
 IntegerLiteral (IntegerVariable v, IntegerValue b)
bool IsValid () const
bool IsAlwaysTrue () const
bool IsAlwaysFalse () const
IntegerLiteral Negated () const
bool operator== (IntegerLiteral o) const
bool operator!= (IntegerLiteral o) const
std::string DebugString () const

Static Public Member Functions

static IntegerLiteral GreaterOrEqual (IntegerVariable i, IntegerValue bound)
static IntegerLiteral LowerOrEqual (IntegerVariable i, IntegerValue bound)
static IntegerLiteral TrueLiteral ()
static IntegerLiteral FalseLiteral ()

Public Attributes

IntegerVariable var = kNoIntegerVariable
IntegerValue bound = IntegerValue(0)

Constructor & Destructor Documentation

◆ IntegerLiteral() [1/2]

operations_research::sat::IntegerLiteral::IntegerLiteral ( )
inline

Definition at line 223 of file integer_base.h.

◆ IntegerLiteral() [2/2]

operations_research::sat::IntegerLiteral::IntegerLiteral ( IntegerVariable v,
IntegerValue b )
inline

Definition at line 224 of file integer_base.h.

Member Function Documentation

◆ DebugString()

std::string operations_research::sat::IntegerLiteral::DebugString ( ) const
inline

Definition at line 243 of file integer_base.h.

◆ FalseLiteral()

IntegerLiteral operations_research::sat::IntegerLiteral::FalseLiteral ( )
inlinestatic

Definition at line 643 of file integer_base.h.

◆ GreaterOrEqual()

IntegerLiteral operations_research::sat::IntegerLiteral::GreaterOrEqual ( IntegerVariable i,
IntegerValue bound )
inlinestatic

Definition at line 627 of file integer_base.h.

◆ IsAlwaysFalse()

bool operations_research::sat::IntegerLiteral::IsAlwaysFalse ( ) const
inline

Definition at line 231 of file integer_base.h.

◆ IsAlwaysTrue()

bool operations_research::sat::IntegerLiteral::IsAlwaysTrue ( ) const
inline

Definition at line 230 of file integer_base.h.

◆ IsValid()

bool operations_research::sat::IntegerLiteral::IsValid ( ) const
inline

Definition at line 229 of file integer_base.h.

◆ LowerOrEqual()

IntegerLiteral operations_research::sat::IntegerLiteral::LowerOrEqual ( IntegerVariable i,
IntegerValue bound )
inlinestatic

Definition at line 633 of file integer_base.h.

◆ Negated()

IntegerLiteral operations_research::sat::IntegerLiteral::Negated ( ) const
inline

Definition at line 647 of file integer_base.h.

◆ operator!=()

bool operations_research::sat::IntegerLiteral::operator!= ( IntegerLiteral o) const
inline

Definition at line 239 of file integer_base.h.

◆ operator==()

bool operations_research::sat::IntegerLiteral::operator== ( IntegerLiteral o) const
inline

Definition at line 236 of file integer_base.h.

◆ TrueLiteral()

IntegerLiteral operations_research::sat::IntegerLiteral::TrueLiteral ( )
inlinestatic

Definition at line 639 of file integer_base.h.

Member Data Documentation

◆ bound

IntegerValue operations_research::sat::IntegerLiteral::bound = IntegerValue(0)

Definition at line 251 of file integer_base.h.

◆ var

IntegerVariable operations_research::sat::IntegerLiteral::var = kNoIntegerVariable

Definition at line 250 of file integer_base.h.


The documentation for this struct was generated from the following file: