fr.jussieu.gla.wasa.monitor.gui.test
Class EngineDependantIntExplorer

java.lang.Object
  |
  +--fr.jussieu.gla.wasa.core.ProblemItem
        |
        +--fr.jussieu.gla.wasa.core.Explorer
              |
              +--fr.jussieu.gla.wasa.monitor.gui.test.EngineDependantIntExplorer

public class EngineDependantIntExplorer
extends Explorer

An explorer setting a Var's value to a known int value, keeping independant sequences for each Problem's Engine.

Version:
$Revision: 1.1 $ $Date: 2002/03/29 18:46:33 $
Author:
Laurent Caillette

Constructor Summary
EngineDependantIntExplorer(Problem problem, int[][] intValues)
           
 
Method Summary
protected  void doReset()
          Override this method to initialize your private stuff when the exploration starts around a given Configuration.
protected  boolean explore(int explorationIndex)
          Override this method to change Buisness Objects values according to your private explorers.
protected  boolean hasNeighbours(int explorationIndex)
          Override this method to indicate if explorer should be applied.
 
Methods inherited from class fr.jussieu.gla.wasa.core.Explorer
getVar
 
Methods inherited from class fr.jussieu.gla.wasa.core.ProblemItem
getName, getProblem, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EngineDependantIntExplorer

public EngineDependantIntExplorer(Problem problem,
                                  int[][] intValues)
Method Detail

doReset

protected void doReset()
Description copied from class: Explorer
Override this method to initialize your private stuff when the exploration starts around a given Configuration.
Overrides:
doReset in class Explorer

hasNeighbours

protected boolean hasNeighbours(int explorationIndex)
Description copied from class: Explorer
Override this method to indicate if explorer should be applied.
Overrides:
hasNeighbours in class Explorer
Following copied from class: fr.jussieu.gla.wasa.core.Explorer
Parameters:
true - if explorer should be applied, false otherwise.
Returns:
true if the results should be taken in account and the exploration should continue, false if the results should not be taken in account and the exploration must stop.

explore

protected boolean explore(int explorationIndex)
Description copied from class: Explorer
Override this method to change Buisness Objects values according to your private explorers.

Apply the Explorer to the Buisness Objects : change some values to optimize a given criterion.

Overrides:
explore in class Explorer
Following copied from class: fr.jussieu.gla.wasa.core.Explorer
Parameters:
explorationIndex - The number of times this method was called to explore around for a given Configuration.
Returns:
true if the result should be taken in account, false otherwise.