public final class DomainTranslator extends Object implements WrapperComponent
| Modifier and Type | Field and Description |
|---|---|
Set<IntVar> |
translatedVars |
| Constructor and Description |
|---|
DomainTranslator() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(SatWrapper wrapper)
connect the component to the wrapper
|
String |
toString() |
void |
translate(IntVar variable)
translates the variable to clauses, if not already done, and add
those clauses to the wrapper queue.
|
public void translate(IntVar variable)
variable - the variable to translate
see Propagation via Lazy Clause Generation, Olga Ohrimenko1 , Peter J. Stuckey , and Michael Codish
public void initialize(SatWrapper wrapper)
WrapperComponentinitialize in interface WrapperComponentwrapper - the wrapperCopyright © 2022. All rights reserved.