org.holtz.zoe
Class Genotype2
java.lang.Object
org.holtz.zoe.Genotype2
public class Genotype2
- extends java.lang.Object
The species of a Bug
, including a StatementList
encoding a Zoel
program.
- Author:
- Brian Holtz
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
id
public int id
name
public java.lang.String name
color
public java.awt.Color color
numLiving
public int numLiving
Genotype2
public Genotype2(Genotype2 theParent,
java.util.Random random)
Genotype2
public Genotype2(Genotype2 mom,
Genotype2 dad,
java.util.Random random)
Genotype2
public Genotype2(java.util.Random random)
getNextId
public static int getNextId()
getNumEverCreated
public static int getNumEverCreated()
getRandomGenotype
public static Genotype2 getRandomGenotype(java.util.Random random)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toString
public java.lang.String toString(java.lang.String separator)
toString
public java.lang.String toString(java.lang.String statementSeparator,
Operation currStmt,
java.lang.String cursor)