jeco.kernel.algorithm
Class Algorithm

java.lang.Object
  extended by jeco.kernel.algorithm.Algorithm
Direct Known Subclasses:
GrammaticalEvolutionaryAlgorithm, GrammaticalMultiObjectiveEvolutionaryAlgorithm, HNSPSO, NSGAII, NSPSO, OMOPSO, SPEA2

public abstract class Algorithm
extends java.lang.Object

Author:
José L. Risco-Martín

Field Summary
protected  java.lang.String name
           
protected  Problem problem
           
 
Constructor Summary
Algorithm(java.lang.String name, Problem problem)
           
 
Method Summary
abstract  Solutions execute()
           
 java.lang.String getName()
           
 Problem getProblem()
           
abstract  void initialize()
           
 void setLevel(java.util.logging.Level level)
           
 void setProblem(Problem problem)
           
abstract  void step()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

problem

protected Problem problem
Constructor Detail

Algorithm

public Algorithm(java.lang.String name,
                 Problem problem)
Method Detail

getName

public java.lang.String getName()

getProblem

public Problem getProblem()

setProblem

public void setProblem(Problem problem)

setLevel

public void setLevel(java.util.logging.Level level)

initialize

public abstract void initialize()

execute

public abstract Solutions execute()

step

public abstract void step()