Interface NoLayerDominanceChecker<T>

Type Parameters:
T - the type of states
All Known Implementing Classes:
DefaultNoLayerDominanceChecker, MispNoLayerDominanceChecker, TSPNoLayerDominanceChecker, TSPTWDominance

public interface NoLayerDominanceChecker<T>
Defines a dominance checking mechanism to prune search states in NoLayer models.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Clears the internally cached states used for dominance checking.
    boolean
    updateDominance(T state, double value)
    Evaluates if a state can be pruned based on previously seen states.
  • Method Details

    • updateDominance

      boolean updateDominance(T state, double value)
      Evaluates if a state can be pruned based on previously seen states.
      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

      default void clear()
      Clears the internally cached states used for dominance checking. This is useful to reset the checker's state between solver iterations.