Class GRModel

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

public class GRModel extends Object implements Model<GRState>
Nolayer model for the Golomb Ruler Problem, bundling the GRProblem with its GRFlb fast lower bound.
  • Constructor Details

    • GRModel

      public GRModel(GRProblem problem)
      Creates a new model for the given Golomb Ruler problem.
      Parameters:
      problem - the Golomb Ruler problem instance
  • Method Details

    • problem

      public Problem<GRState> problem()
      Description copied from interface: Model
      Returns the optimization problem instance associated with this model.
      Specified by:
      problem in interface Model<GRState>
      Returns:
      the Problem defining the structure, transitions, and objective function
    • lowerBound

      public FastLowerBound<GRState> lowerBound()
      Description copied from interface: Model
      Returns a heuristic that estimates a lower bound on the objective value for a given state.
      Specified by:
      lowerBound in interface Model<GRState>
      Returns:
      the FastLowerBound heuristic