org.dbe.eve.simulator
Class AbstractAlgorithm

java.lang.Object
  extended by java.lang.Thread
      extended by org.dbe.eve.simulator.AbstractAlgorithm
All Implemented Interfaces:
java.lang.Runnable
Direct Known Subclasses:
GABeasPrototype, GAPrototype, UMDAPrototype

public abstract class AbstractAlgorithm
extends java.lang.Thread

Polymorphism object for the different algorithms for the local search

Author:
mokada

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
AbstractAlgorithm()
           
 
Method Summary
abstract  long getOptimisationContainerId()
           
abstract  java.util.ArrayList populationToResult()
           
abstract  void setOptimisationContainerId(long id)
           
abstract  void setServicePool(LocalServicePool sp)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractAlgorithm

public AbstractAlgorithm()
Method Detail

setOptimisationContainerId

public abstract void setOptimisationContainerId(long id)

setServicePool

public abstract void setServicePool(LocalServicePool sp)

getOptimisationContainerId

public abstract long getOptimisationContainerId()

populationToResult

public abstract java.util.ArrayList populationToResult()