|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jopt.csp.CspSolver jopt.csp.spi.SolverImpl jopt.js.JsSolver jopt.js.spi.JsSolverImpl
Constructor Summary | |
JsSolverImpl()
|
Method Summary | |
void |
addConstraint(jopt.csp.variable.CspConstraint constraint)
|
jopt.js.api.search.JsLocalSearch |
getJsLocalSearch()
Returns a LocalSearch object that is used to create common objects for use during local neighborhood search operations |
jopt.js.api.search.JsSearchActions |
getJsSearchActions()
Returns a SearchActions object that is used to create common search operations |
jopt.js.api.search.JsSearchGoals |
getJsSearchGoals()
Returns a SearchGoals object that is will create common goals for guiding searches |
jopt.js.api.search.JsSearchTechniques |
getJsSearchTechniques()
Returns a SearchTechniques object that is used to create common techniques for guiding searches such as Breadth First Searching and Depth First Searching |
jopt.js.api.variable.JsVariableFactory |
getJsVarFactory()
Returns the variable factory for the algorithm the solver is based upon |
void |
problemBuilt()
|
boolean |
solve(jopt.csp.search.SearchAction action,
jopt.csp.search.SearchGoal goal,
jopt.csp.search.SearchTechnique technique,
boolean continuallyImprove,
boolean reset)
Locates a solution for the current problem. |
Methods inherited from class jopt.js.JsSolver |
createJsSolver, createSolver, createSolver |
Methods inherited from class jopt.csp.spi.SolverImpl |
addConstraint, addConstraint, addConstraint, addVariable, clear, createDefaultAlgorithm, getAutoPropagate, nextSolution, propagate, reset, restoreNeighboringSolution, restoreSolution, setAutoPropagate, solve, storeSolution |
Methods inherited from class jopt.csp.CspSolver |
createSolver, createSolver, createSolver, createSolver, getLocalSearch, getSearchActions, getSearchGoals, getSearchLimits, getSearchTechniques, getVarFactory, restoreSolution, solve, solve, solve, solve, solve, solve, solve, solve, solve, solve, solve, solve, solve, solve, solve, storeSolution |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JsSolverImpl()
Method Detail |
public jopt.js.api.variable.JsVariableFactory getJsVarFactory()
public jopt.js.api.search.JsSearchActions getJsSearchActions()
public jopt.js.api.search.JsSearchGoals getJsSearchGoals()
public jopt.js.api.search.JsSearchTechniques getJsSearchTechniques()
public jopt.js.api.search.JsLocalSearch getJsLocalSearch()
public void problemBuilt()
public boolean solve(jopt.csp.search.SearchAction action, jopt.csp.search.SearchGoal goal, jopt.csp.search.SearchTechnique technique, boolean continuallyImprove, boolean reset)
action
- Search action used to locate a solutiongoal
- Goal to guide search towards a solutiontechnique
- Search technique used to locate a solutioncontinuallyImprove
- True if each successive solution found will be an improvement over previous, false
if the best solution (according to the goal) is found during the original searchreset
- True if state of problem should be reset before starting search
public void addConstraint(jopt.csp.variable.CspConstraint constraint) throws jopt.csp.variable.PropagationFailureException
jopt.csp.variable.PropagationFailureException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |