public class FailConstraintsStatistics<T extends Var> extends Object implements ConsistencyListener
| Modifier and Type | Field and Description |
|---|---|
Map<String,Integer> |
failConstraintsIdStatistics |
Map<String,Integer> |
failConstraintsStatistics |
long |
otherFails |
| Constructor and Description |
|---|
FailConstraintsStatistics(Store s) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
executeAfterConsistency(boolean consistent)
It is executed right after consistency of the current search node.
|
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).
|
String |
toString() |
public FailConstraintsStatistics(Store s)
public boolean executeAfterConsistency(boolean consistent)
ConsistencyListenerexecuteAfterConsistency in interface ConsistencyListenerconsistent - specifies if the consistency call returned true or false.public void setChildrenListeners(ConsistencyListener[] children)
ConsistencyListenersetChildrenListeners in interface ConsistencyListenerchildren - the children listeners attached to this listener.public void setChildrenListeners(ConsistencyListener child)
ConsistencyListenersetChildrenListeners in interface ConsistencyListenerchild - the only child listener added to this consistency listener.Copyright © 2022. All rights reserved.