Class EligibilityForOrders

  • All Implemented Interfaces:
    Serializable, Cloneable, Map<String,​BitSet>

    public class EligibilityForOrders
    extends HashMap<String,​BitSet>
    At present, pieces in which cells are eligible for picking under each of the existing orders? (For example, which pieces are presently in the topmost occupied row? Which piece is the first in the English reading order?) This structure needs to be updated every time a piece is removed from the board.

    This is an auxiliary class for edu.wisc.game.sql.Episode.

    The key to the hash map is the name of the order; the value is a bitset with 37 bit positions, one per cell (plus an empty one at zero)

    See Also:
    Serialized Form