Class GRFlb

java.lang.Object
org.ddolib.examples.nolayer.gruler.GRFlb
All Implemented Interfaces:
FastLowerBound<GRState>

public class GRFlb extends Object implements FastLowerBound<GRState>
Fast lower bound for the nolayer Golomb Ruler Problem. It assumes that the next marks will add the smallest missing distances.
  • Constructor Details

    • GRFlb

      public GRFlb(GRProblem problem)
      Creates a new fast lower bound for the given Golomb Ruler problem.
      Parameters:
      problem - the Golomb Ruler problem instance
  • Method Details

    • fastLowerBound

      public double fastLowerBound(GRState state)
      Description copied from interface: FastLowerBound
      Computes a lower bound on the remaining cost from the given state to reach any valid target state.
      Specified by:
      fastLowerBound in interface FastLowerBound<GRState>
      Parameters:
      state - the current state
      Returns:
      a lower bound on the remaining cost