JavaGenes, NASA Ames. Written largely by Al Globus

gov.nasa.javaGenes.evolvableDoubleList
Class Indices

java.lang.Object
  extended bygov.nasa.javaGenes.evolvableDoubleList.Indices
All Implemented Interfaces:
java.io.Serializable

public class Indices
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
protected  ExtendedTreeSet indices
           
 
Constructor Summary
Indices()
          under normal conditions this constructor is used
Indices(int evolvableSize, int modulo)
          for testing
 
Method Summary
 void addAll(int size)
           
 void addIndex(int value)
           
 int[] getArray()
           
 int getFirstIndex()
           
 boolean isEqual(Indices other)
           
 void remove(int index)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

indices

protected ExtendedTreeSet indices
Constructor Detail

Indices

public Indices()
under normal conditions this constructor is used


Indices

public Indices(int evolvableSize,
               int modulo)
for testing

Method Detail

addIndex

public void addIndex(int value)

getFirstIndex

public int getFirstIndex()

remove

public void remove(int index)

getArray

public int[] getArray()

size

public int size()

addAll

public void addAll(int size)

isEqual

public boolean isEqual(Indices other)

JavaGenes, NASA Ames. Written largely by Al Globus