Definition at line 420 of file integer.h.
|
| | IntegerEncoder (Model *model) |
| |
| | ~IntegerEncoder () |
| |
| void | ReserveSpaceForNumVariables (int num_vars) |
| |
| void | FullyEncodeVariable (IntegerVariable var) |
| |
| bool | VariableIsFullyEncoded (IntegerVariable var) const |
| |
| std::vector< ValueLiteralPair > | FullDomainEncoding (IntegerVariable var) const |
| |
| std::vector< ValueLiteralPair > | PartialDomainEncoding (IntegerVariable var) const |
| |
| std::pair< IntegerLiteral, IntegerLiteral > | Canonicalize (IntegerLiteral i_lit) const |
| |
| 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) |
| |
| 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 |
| |
| 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 |
| |
| Literal | GetTrueLiteral () |
| |
| Literal | GetFalseLiteral () |
| |
| std::vector< ValueLiteralPair > | PartialGreaterThanEncoding (IntegerVariable var) const |
| |
| bool | UpdateEncodingOnInitialDomainChange (IntegerVariable var, Domain domain) |
| |
◆ IntegerEncoder()
◆ ~IntegerEncoder()
◆ AddAllImplicationsBetweenAssociatedLiterals()
| void AddAllImplicationsBetweenAssociatedLiterals |
( |
| ) |
|
◆ AssociateToIntegerEqualValue()
| void AssociateToIntegerEqualValue |
( |
Literal |
literal, |
|
|
IntegerVariable |
var, |
|
|
IntegerValue |
value |
|
) |
| |
◆ AssociateToIntegerLiteral()
◆ Canonicalize()
◆ DisableImplicationBetweenLiteral()
| void DisableImplicationBetweenLiteral |
( |
| ) |
|
|
inline |
◆ FullDomainEncoding()
◆ FullyEncodeVariable()
| void FullyEncodeVariable |
( |
IntegerVariable |
var | ) |
|
◆ GetAllAssociatedVariables()
| const std::vector<IntegerVariable>& GetAllAssociatedVariables |
( |
Literal |
lit | ) |
const |
|
inline |
◆ GetAssociatedEqualityLiteral()
| LiteralIndex GetAssociatedEqualityLiteral |
( |
IntegerVariable |
var, |
|
|
IntegerValue |
value |
|
) |
| const |
◆ GetAssociatedLiteral()
◆ GetEqualityLiterals()
◆ GetFalseLiteral()
◆ GetIntegerLiterals()
◆ GetLiteralView()
| const IntegerVariable GetLiteralView |
( |
Literal |
lit | ) |
const |
|
inline |
◆ GetOrCreateAssociatedLiteral()
◆ GetOrCreateLiteralAssociatedToEquality()
| Literal GetOrCreateLiteralAssociatedToEquality |
( |
IntegerVariable |
var, |
|
|
IntegerValue |
value |
|
) |
| |
◆ GetTrueLiteral()
◆ LiteralOrNegationHasView()
| ABSL_MUST_USE_RESULT bool LiteralOrNegationHasView |
( |
Literal |
lit, |
|
|
IntegerVariable * |
view = nullptr, |
|
|
bool * |
view_is_direct = nullptr |
|
) |
| const |
◆ PartialDomainEncoding()
| std::vector< ValueLiteralPair > PartialDomainEncoding |
( |
IntegerVariable |
var | ) |
const |
◆ PartialGreaterThanEncoding()
| std::vector< ValueLiteralPair > PartialGreaterThanEncoding |
( |
IntegerVariable |
var | ) |
const |
◆ ReserveSpaceForNumVariables()
| void ReserveSpaceForNumVariables |
( |
int |
num_vars | ) |
|
◆ SearchForLiteralAtOrBefore()
| LiteralIndex SearchForLiteralAtOrBefore |
( |
IntegerLiteral |
i_lit, |
|
|
IntegerValue * |
bound |
|
) |
| const |
◆ UpdateEncodingOnInitialDomainChange()
| bool UpdateEncodingOnInitialDomainChange |
( |
IntegerVariable |
var, |
|
|
Domain |
domain |
|
) |
| |
◆ VariableIsFullyEncoded()
| bool VariableIsFullyEncoded |
( |
IntegerVariable |
var | ) |
const |
The documentation for this class was generated from the following files: