public class NogoodConstraint extends Constraint
Constraint.Statuspropagators| Constructor and Description |
|---|
NogoodConstraint(Model model) |
| Modifier and Type | Method and Description |
|---|---|
PropNogoods |
getPropNogoods() |
ESat |
isSatisfied()
Test if this
Constraint object is satisfied,
regarding its Propagators and its Variable current domains. |
checkNewStatus, computeMaxPriority, declareAs, getCidxInModel, getName, getOpposite, getPropagator, getPropagators, getStatus, isReified, makeOpposite, merge, post, reify, reifyWith, setName, toStringpublic NogoodConstraint(Model model)
public ESat isSatisfied()
ConstraintConstraint object is satisfied,
regarding its Propagators and its Variable current domains.
This method is called on each solution as a checker when assertions are enabled (-ea in VM parameters)
It is also called for constraint reification (to state whether or not a constraint is satisfied)
The method calls entailment checks of this propagatorsisSatisfied in class ConstraintESat.FALSE if the constraint cannot be satisfied (from domain consideration),
ESat.TRUE if whatever future decisions are, the constraint will be satisfied for sure (without propagating domain modifications)
ESat.UNDIFINED otherwise (more decisions/filtering must be made before concluding about constraint satisfaction)public PropNogoods getPropNogoods()
Copyright © 2017. All rights reserved.