|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectJaCoP.search.TransformExtensional
public class TransformExtensional
It defines an intialize listener which transforms part of the problem into an extensional constraint by searching for all partial solutions given the scope of the variables of interest.
| Field Summary | |
|---|---|
int |
solutionLimit
The limit of solutions upon reaching the transformation is abandoned and solution progress normally without any transformation. |
java.util.ArrayList<IntVar> |
variablesTransformationScope
It contains all the information which will become variables in the scope of the extensional constraint produced by this search listener. |
| Constructor Summary | |
|---|---|
TransformExtensional()
|
|
| Method Summary | |
|---|---|
void |
executedAtInitialize(Store store)
It is executed before the search starts labeling procedure. |
void |
setChildrenListeners(InitializeListener child)
It sets one child listener for this initialize listener. |
void |
setChildrenListeners(InitializeListener[] children)
It sets the children listeners of this initialize listener. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.util.ArrayList<IntVar> variablesTransformationScope
public int solutionLimit
| Constructor Detail |
|---|
public TransformExtensional()
| Method Detail |
|---|
public void executedAtInitialize(Store store)
InitializeListener
executedAtInitialize in interface InitializeListenerstore - store in which context the search is performed.public void setChildrenListeners(InitializeListener[] children)
InitializeListener
setChildrenListeners in interface InitializeListenerpublic void setChildrenListeners(InitializeListener child)
InitializeListener
setChildrenListeners in interface InitializeListenerchild - the child of this initialize listener.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||