Class StoredBool


  • public class StoredBool
    extends IStateBool
    A class implementing backtrackable boolean.
    • Constructor Detail

      • StoredBool

        public StoredBool​(EnvironmentTrailing env,
                          boolean i)
        Constructs a stored search with an initial value. Note: this constructor should not be used directly: one should instead use the IEnvironment factory
    • Method Detail

      • set

        public final void set​(boolean y)
        Modifies the value and stores if needed the former value on the trailing stack.
        Specified by:
        set in class IStateBool