Class Utilities
java.lang.Object
Utilities
public class Utilities
- extends java.lang.Object
Method Summary |
static void |
print(java.util.Vector networkToPrint)
Prints a network (Can be used by the Responder to print
its network, or by the Finder to print the network that it revealed) |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
START
public static final Location START
END
public static final Location END
NUMBER_OF_ROWS
public static final int NUMBER_OF_ROWS
- See Also:
- Constant Field Values
NUMBER_OF_COLUMNS
public static final int NUMBER_OF_COLUMNS
- See Also:
- Constant Field Values
NUMBER_OF_ANTS
public static final int NUMBER_OF_ANTS
- See Also:
- Constant Field Values
MAX_NUMBER_OF_ANTS_RESPONDER_KILL
public static final int MAX_NUMBER_OF_ANTS_RESPONDER_KILL
- See Also:
- Constant Field Values
Utilities
public Utilities()
print
public static void print(java.util.Vector networkToPrint)
- Prints a network (Can be used by the Responder to print
its network, or by the Finder to print the network that it revealed)
- Parameters:
networkToPrint
- A vector of the Locations in the
network - doesn't need to have a particular order.