Uses of Interface
org.maxicp.state.StateManager
Packages that use StateManager
Package
Description
Solver objects
CP Instantiation of the Symbolic Modeling API
Concrete modeling API
Search API
State Management (trailer, copier, etc.)
Copier strategy for state restoration
Backtrackable data structures (e.g., sparse-sets, maps, stack, intervals, bitsets)
Trail strategy for state restoration
-
Uses of StateManager in org.maxicp.cp.engine.core
Methods in org.maxicp.cp.engine.core that return StateManagerConstructors in org.maxicp.cp.engine.core with parameters of type StateManagerModifierConstructorDescriptionMaxiCP(StateManager sm) MaxiCP(StateManager sm, ModelProxy modelProxy) SparseSetDomain(StateManager sm, int min, int max) TriPartitionSetDomain(StateManager sm, int n) Creates a tripartition domain with elements {0..n-1} possible -
Uses of StateManager in org.maxicp.cp.modeling
Methods in org.maxicp.cp.modeling that return StateManagerMethods in org.maxicp.cp.modeling that return types with arguments of type StateManagerModifier and TypeMethodDescriptionCPModelInstantiator.Instantiator.stateManagerSupplier()Returns the value of thestateManagerSupplierrecord component.Constructor parameters in org.maxicp.cp.modeling with type arguments of type StateManagerModifierConstructorDescriptionInstantiator(Supplier<StateManager> stateManagerSupplier) Creates an instance of aInstantiatorrecord class. -
Uses of StateManager in org.maxicp.modeling.concrete
Methods in org.maxicp.modeling.concrete that return StateManager -
Uses of StateManager in org.maxicp.search
Fields in org.maxicp.search declared as StateManagerMethods in org.maxicp.search with parameters of type StateManagerModifier and TypeMethodDescriptionvoidDFSLinearizer.restoreState(StateManager sm) default voidDFSListener.restoreState(StateManager sm) voidDFSLinearizer.saveState(StateManager sm) default voidDFSListener.saveState(StateManager sm) Constructors in org.maxicp.search with parameters of type StateManagerModifierConstructorDescriptionAbstractConcurrentSearchMethod(StateManager sm, Supplier<SymbolicModel[]> branching) AbstractSearchMethod(StateManager sm, Supplier<T[]> branching) DFSearch(StateManager sm, Supplier<Runnable[]> branching) RunnableSearchMethod(StateManager sm, Supplier<Runnable[]> branching) SymbolicSearchMethod(StateManager sm, Supplier<SymbolicModel[]> branching) -
Uses of StateManager in org.maxicp.state
Methods in org.maxicp.state that return StateManagerModifier and TypeMethodDescriptionStateManaged.getStateManager()Returns the state manager in charge of the global state of the solver. -
Uses of StateManager in org.maxicp.state.copy
Classes in org.maxicp.state.copy that implement StateManagerModifier and TypeClassDescriptionclassStateManager that will store the state of every created elements at eachCopier.saveState()call. -
Uses of StateManager in org.maxicp.state.datastructures
Constructors in org.maxicp.state.datastructures with parameters of type StateManagerModifierConstructorDescriptionStateInterval(StateManager sm, int min, int max) Creates an interval that can be saved and restored with thesaveState()/restoreState()methods.StateLazySparseSet(StateManager sm, int n, int ofs) Creates a set containing the elements{ofs,ofs+1,...,ofs+n-1}.StateSparseBitSet(StateManager sm, int n) Creates a StateSparseSet with n bits, initially all set (value 1 for all)StateSparseSet(StateManager sm, int n, int ofs) Creates a set containing the elements{ofs,ofs+1,...,ofs+n-1}.StateSparseSet(StateManager sm, Set<Integer> values) Creates a set containing the elements ofvalues.Creates a restorable stack.StateTriPartition(StateManager sm, int n) Creates a tri-partition with the elements{I : {}, P: {0,...,n-1}, E: {}}.StateTriPartition(StateManager sm, int minInclusive, int maxInclusive) Creates a tri-partition with the elements{I : {}, P: {min,...,max}, E: {}}.StateTriPartition(StateManager sm, Set<Integer> values) Creates a tri-partition with the elements{R : {}, P: values, E: {}} -
Uses of StateManager in org.maxicp.state.trail
Classes in org.maxicp.state.trail that implement StateManagerModifier and TypeClassDescriptionclassStateManager that will lazily store the state of state object at eachTrailer.saveState()call.