Definition at line 106 of file integer.h.
#include <integer.h>
|
| | IntegerEncoder (Model *model) |
| | IntegerEncoder (const IntegerEncoder &)=delete |
| IntegerEncoder & | operator= (const IntegerEncoder &)=delete |
| | ~IntegerEncoder () |
| void | ReserveSpaceForNumVariables (int num_vars) |
| void | FullyEncodeVariable (IntegerVariable var) |
| bool | VariableIsFullyEncoded (IntegerVariable var) const |
| const std::vector< ValueLiteralPair > & | FullDomainEncoding (IntegerVariable var) const |
| const std::vector< ValueLiteralPair > & | PartialDomainEncoding (IntegerVariable var) const |
| std::pair< IntegerLiteral, IntegerLiteral > | Canonicalize (IntegerLiteral i_lit) const |
| bool | VariableDomainHasHoles (IntegerVariable var) |
| Literal | GetOrCreateAssociatedLiteral (IntegerLiteral i_lit) |
| Literal | GetOrCreateLiteralAssociatedToEquality (IntegerVariable var, IntegerValue value) |
| void | AssociateToIntegerLiteral (Literal literal, IntegerLiteral i_lit) |
| void | AssociateToIntegerEqualValue (Literal literal, IntegerVariable var, IntegerValue value) |
| bool | IsFixedOrHasAssociatedLiteral (IntegerLiteral i_lit) const |
| LiteralIndex | GetAssociatedLiteral (IntegerLiteral i_lit) const |
| LiteralIndex | GetAssociatedEqualityLiteral (IntegerVariable var, IntegerValue value) const |
| void | DisableImplicationBetweenLiteral () |
| void | AddAllImplicationsBetweenAssociatedLiterals () |
| const InlinedIntegerLiteralVector & | GetIntegerLiterals (Literal lit) const |
| const InlinedIntegerValueVector & | GetEqualityLiterals (Literal lit) const |
| const std::vector< IntegerVariable > & | GetAllAssociatedVariables (Literal lit) const |
| IntegerVariable | GetLiteralView (Literal lit) const |
| ABSL_MUST_USE_RESULT bool | LiteralOrNegationHasView (Literal lit, IntegerVariable *view=nullptr, bool *view_is_direct=nullptr) const |
| LiteralIndex | SearchForLiteralAtOrBefore (IntegerLiteral i_lit, IntegerValue *bound) const |
| LiteralIndex | SearchForLiteralAtOrAfter (IntegerLiteral i_lit, IntegerValue *bound) const |
| Literal | GetTrueLiteral () |
| Literal | GetFalseLiteral () |
| std::vector< ValueLiteralPair > | PartialGreaterThanEncoding (IntegerVariable var) const |
| bool | UpdateEncodingOnInitialDomainChange (IntegerVariable var, Domain domain) |
| int | NumVariables () const |
◆ IntegerEncoder() [1/2]
| operations_research::sat::IntegerEncoder::IntegerEncoder |
( |
Model * | model | ) |
|
|
inlineexplicit |
◆ IntegerEncoder() [2/2]
| operations_research::sat::IntegerEncoder::IntegerEncoder |
( |
const IntegerEncoder & | | ) |
|
|
delete |
◆ ~IntegerEncoder()
| operations_research::sat::IntegerEncoder::~IntegerEncoder |
( |
| ) |
|
|
inline |
◆ AddAllImplicationsBetweenAssociatedLiterals()
| void operations_research::sat::IntegerEncoder::AddAllImplicationsBetweenAssociatedLiterals |
( |
| ) |
|
◆ AssociateToIntegerEqualValue()
| void operations_research::sat::IntegerEncoder::AssociateToIntegerEqualValue |
( |
Literal | literal, |
|
|
IntegerVariable | var, |
|
|
IntegerValue | value ) |
◆ AssociateToIntegerLiteral()
| void operations_research::sat::IntegerEncoder::AssociateToIntegerLiteral |
( |
Literal | literal, |
|
|
IntegerLiteral | i_lit ) |
◆ Canonicalize()
◆ DisableImplicationBetweenLiteral()
| void operations_research::sat::IntegerEncoder::DisableImplicationBetweenLiteral |
( |
| ) |
|
|
inline |
◆ FullDomainEncoding()
| const std::vector< ValueLiteralPair > & operations_research::sat::IntegerEncoder::FullDomainEncoding |
( |
IntegerVariable | var | ) |
const |
◆ FullyEncodeVariable()
| void operations_research::sat::IntegerEncoder::FullyEncodeVariable |
( |
IntegerVariable | var | ) |
|
◆ GetAllAssociatedVariables()
| const std::vector< IntegerVariable > & operations_research::sat::IntegerEncoder::GetAllAssociatedVariables |
( |
Literal | lit | ) |
const |
|
inline |
◆ GetAssociatedEqualityLiteral()
| LiteralIndex operations_research::sat::IntegerEncoder::GetAssociatedEqualityLiteral |
( |
IntegerVariable | var, |
|
|
IntegerValue | value ) const |
◆ GetAssociatedLiteral()
| LiteralIndex operations_research::sat::IntegerEncoder::GetAssociatedLiteral |
( |
IntegerLiteral | i_lit | ) |
const |
◆ GetEqualityLiterals()
◆ GetFalseLiteral()
| Literal operations_research::sat::IntegerEncoder::GetFalseLiteral |
( |
| ) |
|
|
inline |
◆ GetIntegerLiterals()
◆ GetLiteralView()
| IntegerVariable operations_research::sat::IntegerEncoder::GetLiteralView |
( |
Literal | lit | ) |
const |
|
inline |
◆ GetOrCreateAssociatedLiteral()
◆ GetOrCreateLiteralAssociatedToEquality()
| Literal operations_research::sat::IntegerEncoder::GetOrCreateLiteralAssociatedToEquality |
( |
IntegerVariable | var, |
|
|
IntegerValue | value ) |
◆ GetTrueLiteral()
| Literal operations_research::sat::IntegerEncoder::GetTrueLiteral |
( |
| ) |
|
|
inline |
◆ IsFixedOrHasAssociatedLiteral()
| bool operations_research::sat::IntegerEncoder::IsFixedOrHasAssociatedLiteral |
( |
IntegerLiteral | i_lit | ) |
const |
◆ LiteralOrNegationHasView()
| ABSL_MUST_USE_RESULT bool operations_research::sat::IntegerEncoder::LiteralOrNegationHasView |
( |
Literal | lit, |
|
|
IntegerVariable * | view = nullptr, |
|
|
bool * | view_is_direct = nullptr ) const |
◆ NumVariables()
| int operations_research::sat::IntegerEncoder::NumVariables |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ PartialDomainEncoding()
| const std::vector< ValueLiteralPair > & operations_research::sat::IntegerEncoder::PartialDomainEncoding |
( |
IntegerVariable | var | ) |
const |
◆ PartialGreaterThanEncoding()
| std::vector< ValueLiteralPair > operations_research::sat::IntegerEncoder::PartialGreaterThanEncoding |
( |
IntegerVariable | var | ) |
const |
◆ ReserveSpaceForNumVariables()
| void operations_research::sat::IntegerEncoder::ReserveSpaceForNumVariables |
( |
int | num_vars | ) |
|
◆ SearchForLiteralAtOrAfter()
| LiteralIndex operations_research::sat::IntegerEncoder::SearchForLiteralAtOrAfter |
( |
IntegerLiteral | i_lit, |
|
|
IntegerValue * | bound ) const |
◆ SearchForLiteralAtOrBefore()
| LiteralIndex operations_research::sat::IntegerEncoder::SearchForLiteralAtOrBefore |
( |
IntegerLiteral | i_lit, |
|
|
IntegerValue * | bound ) const |
◆ UpdateEncodingOnInitialDomainChange()
| bool operations_research::sat::IntegerEncoder::UpdateEncodingOnInitialDomainChange |
( |
IntegerVariable | var, |
|
|
Domain | domain ) |
◆ VariableDomainHasHoles()
| bool operations_research::sat::IntegerEncoder::VariableDomainHasHoles |
( |
IntegerVariable | var | ) |
|
|
inline |
◆ VariableIsFullyEncoded()
| bool operations_research::sat::IntegerEncoder::VariableIsFullyEncoded |
( |
IntegerVariable | var | ) |
const |
The documentation for this class was generated from the following files: