choco.cp.solver.goals.choice
Class Generate

java.lang.Object
  extended by choco.cp.solver.goals.choice.Generate
All Implemented Interfaces:
IPretty, Goal

public class Generate
extends Object
implements Goal


Field Summary
protected  ValIterator<IntDomainVar> valIterator
           
protected  ValSelector<IntDomainVar> valSelector
           
protected  IntDomainVar[] vars
           
protected  VarSelector<IntDomainVar> varSelector
           
 
Fields inherited from interface choco.kernel.solver.goals.Goal
LOGGER
 
Constructor Summary
Generate(IntDomainVar[] vars)
           
Generate(IntDomainVar[] vars, VarSelector<IntDomainVar> varSelector)
           
Generate(IntDomainVar[] vars, VarSelector<IntDomainVar> varSelector, ValIterator<IntDomainVar> valIterator)
           
Generate(IntDomainVar[] vars, VarSelector<IntDomainVar> varSelector, ValSelector<IntDomainVar> valSelector)
           
 
Method Summary
 Goal execute(Solver s)
           
 GoalType getType()
           
 String pretty()
          pretty printing of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

varSelector

protected VarSelector<IntDomainVar> varSelector

valSelector

protected ValSelector<IntDomainVar> valSelector

valIterator

protected ValIterator<IntDomainVar> valIterator

vars

protected IntDomainVar[] vars
Constructor Detail

Generate

public Generate(IntDomainVar[] vars,
                VarSelector<IntDomainVar> varSelector,
                ValIterator<IntDomainVar> valIterator)

Generate

public Generate(IntDomainVar[] vars,
                VarSelector<IntDomainVar> varSelector,
                ValSelector<IntDomainVar> valSelector)

Generate

public Generate(IntDomainVar[] vars,
                VarSelector<IntDomainVar> varSelector)

Generate

public Generate(IntDomainVar[] vars)
Method Detail

pretty

public String pretty()
Description copied from interface: IPretty
pretty printing of the object. This String is not constant and may depend on the context.

Specified by:
pretty in interface IPretty
Returns:
a readable string representation of the object

execute

public Goal execute(Solver s)
             throws ContradictionException
Specified by:
execute in interface Goal
Throws:
ContradictionException

getType

public GoalType getType()
Specified by:
getType in interface Goal


Copyright © 2012. All Rights Reserved.