Class MCPFastLowerBound

java.lang.Object
org.ddolib.examples.layered.mcp.MCPFastLowerBound
All Implemented Interfaces:
FastLowerBound<MCPState>

public class MCPFastLowerBound extends Object implements FastLowerBound<MCPState>
Implementation of fast lower bound heuristic for the MCP.
  • Constructor Details

    • MCPFastLowerBound

      public MCPFastLowerBound(MCPProblem problem)
      Creates a new fast lower bound for the given MCP instance.
      Parameters:
      problem - the MCP instance
  • Method Details

    • fastLowerBound

      public double fastLowerBound(MCPState state, Set<Integer> variables)
      Description copied from interface: FastLowerBound
      Returns a very rough estimation (upper bound) of the optimal value that could be reached if state were the initial state.
      Specified by:
      fastLowerBound in interface FastLowerBound<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.