|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Base class for all numeric based domain interfaces
Method Summary | |
jopt.csp.util.NumberIterator |
deltaValues()
Returns iterator for the node's delta set containing values that have been removed from the domain since clearDelta was last run. |
jopt.csp.util.NumSet |
getDeltaSet()
Returns the delta set containing values that have been removed from the domain since clearDelta was last run. |
int |
getSize()
Returns size of domain |
void |
removeDomain(jopt.csp.util.NumSet vals)
Attempts to reduce a domain by removing a set of values |
void |
setDomain(jopt.csp.util.NumSet s)
Attempts to reduce a domain by restricting it to a set of values |
jopt.csp.util.NumSet |
toSet()
Returns set of Numbers and NumIntervals representing domain |
jopt.csp.util.NumberIterator |
values()
Returns iterator of values in node's domain |
Methods inherited from interface jopt.csp.spi.arcalgorithm.domain.Domain |
changed, clearDelta, clone, getDomainState, isBound, restoreDomainState |
Method Detail |
public int getSize()
public void setDomain(jopt.csp.util.NumSet s) throws jopt.csp.variable.PropagationFailureException
jopt.csp.variable.PropagationFailureException
- If domain is emptypublic void removeDomain(jopt.csp.util.NumSet vals) throws jopt.csp.variable.PropagationFailureException
jopt.csp.variable.PropagationFailureException
- If domain is emptypublic jopt.csp.util.NumberIterator values()
public jopt.csp.util.NumberIterator deltaValues()
public jopt.csp.util.NumSet toSet()
public jopt.csp.util.NumSet getDeltaSet()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |