public class SGMPCSCalculator<T extends Var> extends Object implements ConsistencyListener
Constructor and Description |
---|
SGMPCSCalculator(int limit) |
Modifier and Type | Method and Description |
---|---|
boolean |
executeAfterConsistency(boolean consistent)
It is executed right after consistency of the current search node.
|
int |
getFailLimit() |
int |
getNumberFails() |
void |
setChildrenListeners(ConsistencyListener child)
Setting one child listener.
|
void |
setChildrenListeners(ConsistencyListener[] children)
Each of the child listeners will be called and the return code from them
will be combined (taken into account) by a parent).
|
void |
setFailLimit(int limit) |
public boolean executeAfterConsistency(boolean consistent)
executeAfterConsistency
in interface ConsistencyListener
consistent
- specifies if the consistency call returned true or false.public void setFailLimit(int limit)
public int getFailLimit()
public int getNumberFails()
public void setChildrenListeners(ConsistencyListener[] children)
ConsistencyListener
setChildrenListeners
in interface ConsistencyListener
children
- the children listeners attached to this listener.public void setChildrenListeners(ConsistencyListener child)
ConsistencyListener
setChildrenListeners
in interface ConsistencyListener
child
- the only child listener added to this consistency listener.Copyright © 2022. All rights reserved.