- set(long, int) - Method in class TwoBitRandomAccessFile
-
Set the given two-bit file position to the given unsigned two-bit value.
- solve() - Method in class TrafficLightsSolver
-
Starting with the initial game state, recursively evaluate the value of each state given optimal play,
assigning each reachable game state to WIN or LOSS.
- stateToInt(int[]) - Static method in class TrafficLightsSolver
-
Convert the state to a unique integer by treating positions a base 4 digits.
- stateToString(int[]) - Static method in class TrafficLightsSolver
-
Return a String representation of the given game state.