Uses of Record Class
org.ddolib.examples.max2sat.Max2SatState
Packages that use Max2SatState
Package
Description
This package implements the acs, astar and ddo models for the Maximum 2-Satisfiability Problem (MAX2SAT) Problem.
-
Uses of Max2SatState in org.ddolib.examples.max2sat
Methods in org.ddolib.examples.max2sat that return Max2SatStateModifier and TypeMethodDescriptionMax2SatProblem.initialState()Max2SatRelax.mergeStates(Iterator<Max2SatState> states) Merges multipleMax2SatStateinstances into a single relaxed state.Max2SatProblem.transition(Max2SatState state, Decision decision) Methods in org.ddolib.examples.max2sat with parameters of type Max2SatStateModifier and TypeMethodDescriptionintMax2SatRanking.compare(Max2SatState o1, Max2SatState o2) Max2SatProblem.domain(Max2SatState state, int var) doubleMax2SatFastLowerBound.fastLowerBound(Max2SatState state, Set<Integer> variables) Computes the fast lower bound for a given state and set of remaining variables.static intMax2SatRanking.rank(Max2SatState state) doubleMax2SatRelax.relaxEdge(Max2SatState from, Max2SatState to, Max2SatState merged, Decision d, double cost) Adjusts the cost of transitioning from one state to another in the relaxed model.Max2SatProblem.transition(Max2SatState state, Decision decision) doubleMax2SatProblem.transitionCost(Max2SatState state, Decision decision) Method parameters in org.ddolib.examples.max2sat with type arguments of type Max2SatStateModifier and TypeMethodDescriptionMax2SatRelax.mergeStates(Iterator<Max2SatState> states) Merges multipleMax2SatStateinstances into a single relaxed state.