gecco.server.automaton
Class AutomatonReturnQueueSelective
java.lang.Object
|
+--gecco.server.automaton.AutomatonReturn
|
+--gecco.server.automaton.AutomatonReturnQueueSelective
- public class AutomatonReturnQueueSelective
- extends AutomatonReturn
This class represents a return from an automaton update call, that indicates
that certain neighbours of the automaton should be inserted into the queue.
- Author:
- Henrik Bäärnhielm, Karl Hasselström, Henrik Hägerström
Method Summary |
long[][] |
getTimeToExecutions()
Gets the TimeToExecutions attribute of the AutomatonReturnQueueSelective
object |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
timeToExecutions
private long[][] timeToExecutions
- Description of the Field
AutomatonReturnQueueSelective
public AutomatonReturnQueueSelective(double[][] timeToExecutionsArray)
- Constructor for the AutomatonReturnQueueSelective object
- Parameters:
timeToExecutionsArray
- The 3x3 array with the times for each
neighbour (including the automaton itself).
AutomatonReturnQueueSelective
public AutomatonReturnQueueSelective(double[][] timeToExecutionsArray,
UnitEvent unitEvent)
- Constructor for the AutomatonReturnQueueSelective object
- Parameters:
timeToExecutionsArray
- The 3x3 array with the times for each
neighbour (including the automaton itself).unitEvent
- A unit event for any units on the
automaton.
getTimeToExecutions
public long[][] getTimeToExecutions()
- Gets the TimeToExecutions attribute of the AutomatonReturnQueueSelective
object
- Returns:
- The TimeToExecutions value