java.lang.Object
org.maxicp.cp.engine.core.TriPartitionSetDomain
- All Implemented Interfaces:
SetDomain
-
Constructor Summary
ConstructorsConstructorDescriptionTriPartitionSetDomain(StateManager sm, int n) Creates a tripartition domain with elements {0..n-1} possible -
Method Summary
Modifier and TypeMethodDescriptionvoidexclude(int v, SetDomainListener l) voidvoidinclude(int v, SetDomainListener l) voidtoString()
-
Constructor Details
-
TriPartitionSetDomain
Creates a tripartition domain with elements {0..n-1} possible- Parameters:
sm- the state managern- the size of the tripartition
-
-
Method Details
-
includeAll
- Specified by:
includeAllin interfaceSetDomain
-
excludeAll
- Specified by:
excludeAllin interfaceSetDomain
-
exclude
-
include
-
toString
-