fr.jussieu.gla.wasa.samples.party
Class ScheduleExplorer

java.lang.Object
  |
  +--fr.jussieu.gla.wasa.core.ProblemItem
        |
        +--fr.jussieu.gla.wasa.core.Explorer
              |
              +--fr.jussieu.gla.wasa.samples.party.ScheduleExplorer

public class ScheduleExplorer
extends Explorer

Title:

Description:

Copyright: Copyright (c) 2002

Company:

Version:
$Revision: 1.2 $ $Date: 2002/04/17 15:24:08 $
Author:
Laurent Caillette

Constructor Summary
ScheduleExplorer(ProgressivePartyProblem ppp)
           
 
Method Summary
protected  boolean explore(int explorationIndex)
          Explore in swapping the host of the worst Var with all other host boats.
protected  boolean hasNeighbours(int explorationIndex)
          The neighbour count is equal to the number of host boats.
 
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

ScheduleExplorer

public ScheduleExplorer(ProgressivePartyProblem ppp)
Method Detail

hasNeighbours

protected boolean hasNeighbours(int explorationIndex)
The neighbour count is equal to the number of host boats.
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)
Explore in swapping the host of the worst Var with all other host boats.
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.