Class VRPODGRASPConstructive


public class VRPODGRASPConstructive extends Reconstructive<VRPODSolution,VRPODInstance>
Adaptation of GRASPConstructor in original VRPOD project, the rest of constructive methods are ignored as this is the only one that was not commented
  • Constructor Details

    • VRPODGRASPConstructive

      @AutoconfigConstructor public VRPODGRASPConstructive(@RealParam(min=0.0,max=1.0) double alpha)
      GRASP Constructor, mantains a fixed alpha value
      Parameters:
      alpha - Randomness, adjusts the candidate list size. Take values between [0,1] being 1 --> totally random, 0 --> full greedy.
    • VRPODGRASPConstructive

      public VRPODGRASPConstructive(double minAlpha, double maxAlpha)
      GRASP Constructor, generates a random alpha in each construction
      Parameters:
      minAlpha - minimum value for the random alpha
      maxAlpha - maximum value for the random alpha
    • VRPODGRASPConstructive

      public VRPODGRASPConstructive()
      GRASP Constructor, generates a random alpha in each construction, between 0 and 1 (inclusive).
  • Method Details