Class PlaceState

    • Constructor Detail

      • PlaceState

        protected PlaceState​(BitMask actualPresetExpansions,
                             BitMask actualPostsetExpansions,
                             BitMask potentialPresetExpansions,
                             BitMask potentialPostsetExpansions)
    • Method Detail

      • withPotentialExpansions

        public static PlaceState withPotentialExpansions​(BitMask potentialPresetExpansions,
                                                         BitMask potentialPostsetExpansions)
      • canNeverExpand

        public boolean canNeverExpand()
        Returns:
        whether the potential expansions indicate that a future expansion is at all possible
      • isCurrentlyALeaf

        public boolean isCurrentlyALeaf()
        Returns:
        whether state describes a node with currently no children
      • getPotentialPresetExpansions

        public BitMask getPotentialPresetExpansions()
      • getPotentialPostsetExpansions

        public BitMask getPotentialPostsetExpansions()
      • getActualPresetExpansions

        public BitMask getActualPresetExpansions()
      • getActualPostsetExpansions

        public BitMask getActualPostsetExpansions()
      • computeActualChildrenCount

        public int computeActualChildrenCount()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Specified by:
        toString in interface ProperlyPrintable
        Overrides:
        toString in class java.lang.Object