JavaGenes, NASA Ames. Written largely by Al Globus

gov.nasa.javaGenes.core
Class TournamentLocal

java.lang.Object
  extended bygov.nasa.javaGenes.core.Tournament
      extended bygov.nasa.javaGenes.core.TournamentLocal
All Implemented Interfaces:
ChooseParents, java.io.Serializable

public class TournamentLocal
extends Tournament

See Also:
Serialized Form

Field Summary
protected  int extendFromFirstParentIndex
           
 
Fields inherited from class gov.nasa.javaGenes.core.Tournament
size
 
Constructor Summary
TournamentLocal(int size, int extendFromFirstParentIndex)
           
 
Method Summary
 int[] getParentIndices(int number, IntegerInterval range, Population population)
           
 java.lang.String toString()
           
 
Methods inherited from class gov.nasa.javaGenes.core.Tournament
getChosenIndex, getChosenIndex, getChosenIndices, getChosenIndices, getChosenIndices, getParentIndices, shouldChooseSecondOne, tournament
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

extendFromFirstParentIndex

protected int extendFromFirstParentIndex
Constructor Detail

TournamentLocal

public TournamentLocal(int size,
                       int extendFromFirstParentIndex)
Method Detail

getParentIndices

public int[] getParentIndices(int number,
                              IntegerInterval range,
                              Population population)
Specified by:
getParentIndices in interface ChooseParents
Overrides:
getParentIndices in class Tournament

toString

public java.lang.String toString()
Overrides:
toString in class Tournament

JavaGenes, NASA Ames. Written largely by Al Globus