org.dbe.eve.ga
Class GAFactory

java.lang.Object
  extended by org.dbe.eve.ga.GAFactory
Direct Known Subclasses:
DefaultGAFactory

public abstract class GAFactory
extends java.lang.Object

This class is used by the Habitat Service to get an specific GAFactory implementation, this GAFactory implementation will be the only one who knows how to get a new GeneticAlgorithm (some parameters could be necessary in when the constructor is invoqued)

Author:
bob

Constructor Summary
GAFactory()
           
 
Method Summary
abstract  GeneticAlgorithm getGeneticAlgorithm()
           
static GAFactory getInstance(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GAFactory

public GAFactory()
Method Detail

getInstance

public static final GAFactory getInstance(java.lang.String name)
                                   throws java.lang.InstantiationException
Parameters:
name - ClassName of Factory
Returns:
Instance of the Factory if found
Throws:
java.lang.InstantiationException - Is thrown if it is not possible to do the Job

getGeneticAlgorithm

public abstract GeneticAlgorithm getGeneticAlgorithm()