eaLib API Docs
Last Modified : January 7 2002

mss.ea.ex.salesman
Class SalesmanInit

java.lang.Object
  |
  +--mss.ea.core.GeneticOperator
        |
        +--mss.ea.ini.Initialization
              |
              +--mss.ea.ex.salesman.SalesmanInit
All Implemented Interfaces:
IndividualSource

public class SalesmanInit
extends Initialization


Field Summary
protected  int sequenceSize
           
 
Fields inherited from class mss.ea.ini.Initialization
number, setSize
 
Fields inherited from class mss.ea.core.GeneticOperator
description, ID, name
 
Constructor Summary
SalesmanInit(int indNumber, int sequenceSize)
           
 
Method Summary
 ChromosomeSet createSet()
          Abstract method for creating a chromosome set.
 
Methods inherited from class mss.ea.ini.Initialization
getChromosomeSize, getIndividualNumber, getStream, next, setChromosomeSize, setIndividualNumber
 
Methods inherited from class mss.ea.core.GeneticOperator
getDescription, getID, getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

sequenceSize

protected int sequenceSize
Constructor Detail

SalesmanInit

public SalesmanInit(int indNumber,
                    int sequenceSize)
Method Detail

createSet

public ChromosomeSet createSet()
Description copied from class: Initialization
Abstract method for creating a chromosome set. This method must be implemented by every subclass for every application. The new chromosome set can be generated by a random generator or based on special knowledge. The method must produce a valid chromosome set, so that the score of an individual produced with this chromosome set is computable.
Overrides:
createSet in class Initialization
Following copied from class: mss.ea.ini.Initialization
Returns:
new valid chromosome set

eaLib API Docs
Last Modified : January 7 2002

Copyright © 2000-2001 Technical University of Ilmenau, Department ESS