fr.jussieu.gla.wasa.core.junit
Class DummyExplorer

java.lang.Object
  |
  +--fr.jussieu.gla.wasa.core.ProblemItem
        |
        +--fr.jussieu.gla.wasa.core.Explorer
              |
              +--fr.jussieu.gla.wasa.core.junit.DummyExplorer

public class DummyExplorer
extends Explorer

An Explorer which does nothing.

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

Constructor Summary
DummyExplorer(Problem problem)
           
 
Method Summary
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
doReset, 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

DummyExplorer

public DummyExplorer(Problem problem)
Method Detail

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.

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.