javax.constraints.impl.search.goal
Class StrategyAsGoal

java.lang.Object
  extended by javax.constraints.impl.CommonBase
      extended by javax.constraints.impl.search.AbstractSearchStrategy
          extended by javax.constraints.impl.search.goal.Goal
              extended by javax.constraints.impl.search.goal.StrategyAsGoal
All Implemented Interfaces:
SearchStrategy

public class StrategyAsGoal
extends Goal


Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.constraints.SearchStrategy
SearchStrategy.SearchStrategyType
 
Constructor Summary
StrategyAsGoal(Solver solver, SearchStrategy strategy)
           
 
Method Summary
 Goal execute()
          Method that executes an underlying goal in the proper implementation.
 
Methods inherited from class javax.constraints.impl.search.goal.Goal
and, getSolver, or, trace
 
Methods inherited from class javax.constraints.impl.search.AbstractSearchStrategy
getType, getValueSelector, getVarReals, getVars, getVarSelector, run, setType, setValueSelector, setValueSelectorType, setVarReals, setVars, setVars, setVars, setVarSelector, setVarSelectorType
 
Methods inherited from class javax.constraints.impl.CommonBase
getImpl, getName, getObject, getProblem, setImpl, setName, setObject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.constraints.SearchStrategy
getImpl, getName, getObject, setImpl, setName, setObject
 

Constructor Detail

StrategyAsGoal

public StrategyAsGoal(Solver solver,
                      SearchStrategy strategy)
Method Detail

execute

public Goal execute()
             throws java.lang.Exception
Description copied from class: Goal
Method that executes an underlying goal in the proper implementation.

Specified by:
execute in class Goal
Returns:
goal or null
Throws:
java.lang.Exception