Modifier and Type | Field and Description |
---|---|
int |
ascensions |
int |
attackCount
Total number of attack actions
|
long |
bytes
Size of the bytecode for this creature.
|
int |
classId |
long |
computeTime
Total (virtual) compute time in nanoseconds spent by all
creatures of this type.
|
Class |
creatureClass |
int |
emitCount
Total number of emitPheromone actions
|
int |
moveCount
Total number of move actions
|
int |
observeCount
Total number of observe actions
|
Simulator.Result.Code |
resultCode |
long |
totalTime
Total time spent in actions and compute for all creatures
of this type, in nanoseconds.
|
int |
turnCount
Total number of turn actions
|
Constructor and Description |
---|
Simulator.Species(Class c,
int id) |
Modifier and Type | Method and Description |
---|---|
void |
accumulateFrom(Simulator.Species s) |
int |
attackPercent() |
int |
computePercent()
Percentage of time spent by this creature in computation [0, 100]
|
int |
emitPercent() |
int |
movePercent() |
int |
observePercent() |
String |
toString() |
int |
totalActions() |
int |
turnPercent() |
public Class creatureClass
public int classId
public long totalTime
public long computeTime
public long bytes
public int observeCount
public int moveCount
public int turnCount
public int attackCount
public int emitCount
public int ascensions
public Simulator.Result.Code resultCode
public Simulator.Species(Class c, int id)
public int computePercent()
public int totalActions()
public int observePercent()
public int movePercent()
public int turnPercent()
public int attackPercent()
public int emitPercent()
public void accumulateFrom(Simulator.Species s)