Class MispNoLayerDominanceChecker

java.lang.Object
org.ddolib.examples.nolayer.misp.MispNoLayerDominanceChecker
All Implemented Interfaces:
NoLayerDominanceChecker<MispState>

public class MispNoLayerDominanceChecker extends Object implements NoLayerDominanceChecker<MispState>
Dominance checker for the Maximum Independent Set Problem (MISP). Assumes a minimization framework where lower values (more negative weights) are better.
  • Constructor Details

    • MispNoLayerDominanceChecker

      public MispNoLayerDominanceChecker()
      Creates a new instance of this dominance checker.
  • Method Details

    • updateDominance

      public boolean updateDominance(MispState state, double value)
      Description copied from interface: NoLayerDominanceChecker
      Evaluates if a state can be pruned based on previously seen states.
      Specified by:
      updateDominance in interface NoLayerDominanceChecker<MispState>
      Parameters:
      state - the current state to check
      value - the objective value associated with reaching the state
      Returns:
      true if the state is dominated and should be pruned; false otherwise
    • clear

      public void clear()
      Description copied from interface: NoLayerDominanceChecker
      Clears the internally cached states used for dominance checking. This is useful to reset the checker's state between solver iterations.
      Specified by:
      clear in interface NoLayerDominanceChecker<MispState>