Uses of Record Class
org.ddolib.examples.maximumcoverage.MaxCoverState
Packages that use MaxCoverState
-
Uses of MaxCoverState in org.ddolib.examples.maximumcoverage
Methods in org.ddolib.examples.maximumcoverage that return MaxCoverStateModifier and TypeMethodDescriptionMaxCoverProblem.initialState()Returns the initial state for the DDO search.MaxCoverRelax.mergeStates(Iterator<MaxCoverState> states) Merges a collection of states into a single relaxed state.MaxCoverProblem.transition(MaxCoverState state, Decision decision) Applies a decision to a state to produce a new state.Methods in org.ddolib.examples.maximumcoverage with parameters of type MaxCoverStateModifier and TypeMethodDescriptionintMaxCoverRanking.compare(MaxCoverState o1, MaxCoverState o2) Compares two MaxCover states based on the number of items they cover.doubleMaxCoverDistance.distance(MaxCoverState a, MaxCoverState b) Computes the distance between two MaxCover states.doubleMaxCoverDistance.distanceWithRoot(MaxCoverState state) Computes the distance between a state and the root of the search tree.MaxCoverProblem.domain(MaxCoverState state, int var) Returns an iterator over the domain of values for a given variable in a state.doubleMaxCoverFastLowerBound.fastLowerBound(MaxCoverState state, Set<Integer> variables) Computes a fast lower bound on the objective value from a given state.MaxCoverDominance.getKey(MaxCoverState state) Returns the dominance key associated with a state.booleanMaxCoverDominance.isDominatedOrEqual(MaxCoverState state1, MaxCoverState state2) Determines whetherstate1is dominated by or equal tostate2.doubleMaxCoverRelax.relaxEdge(MaxCoverState from, MaxCoverState to, MaxCoverState merged, Decision d, double cost) Computes the relaxed cost of a transition between states.MaxCoverProblem.transition(MaxCoverState state, Decision decision) Applies a decision to a state to produce a new state.doubleMaxCoverProblem.transitionCost(MaxCoverState state, Decision decision) Returns the cost of applying a decision to a state.Method parameters in org.ddolib.examples.maximumcoverage with type arguments of type MaxCoverStateModifier and TypeMethodDescriptiondoubleMaxCoverDistance.distance(NodeSubProblem<MaxCoverState> a, NodeSubProblem<MaxCoverState> b) Computes the distance between two search nodes.MaxCoverRelax.mergeStates(Iterator<MaxCoverState> states) Merges a collection of states into a single relaxed state.