The task A or B performed to reached the "next state"
cycles
private int cycles
Number of time cycles needed to reach the "next state"
nextState
private State nextState
The state reached after waiting
for a certain amount of time cycles and then performing a task A or B
Initializes the three variables
of the Edge class.
Prints the values of the Edge variables onto the Java console.
print
public void print(TextPanel panel)
Prints the values of the Edge variables onto the TextPanel object.