Package org.ddolib.examples.mcp
Class MCPFastLowerBound
java.lang.Object
org.ddolib.examples.mcp.MCPFastLowerBound
- All Implemented Interfaces:
FastLowerBound<MCPState>
Implementation of fast lower bound heuristic for the MCP.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublefastLowerBound(MCPState state, Set<Integer> variables) Returns a very rough estimation (upper bound) of the optimal value that could be reached if state were the initial state.
-
Constructor Details
-
MCPFastLowerBound
-
-
Method Details
-
fastLowerBound
Description copied from interface:FastLowerBoundReturns a very rough estimation (upper bound) of the optimal value that could be reached if state were the initial state.- Specified by:
fastLowerBoundin interfaceFastLowerBound<MCPState>- Parameters:
state- The state for which the estimate is to be computed.variables- The set of unassigned variables.- Returns:
- A very rough estimation (upper bound) of the optimal value that could be reached if state were the initial state.
-