Class DefaultFastLowerBound<T>

java.lang.Object
org.ddolib.nolayer.modeling.DefaultFastLowerBound<T>
Type Parameters:
T - the type representing the state
All Implemented Interfaces:
FastLowerBound<T>

public class DefaultFastLowerBound<T> extends Object implements FastLowerBound<T>
Default implementation of FastLowerBound that always returns 0.0.
  • Constructor Details

    • DefaultFastLowerBound

      public DefaultFastLowerBound()
      Creates a new instance of this default fast lower bound.
  • Method Details

    • fastLowerBound

      public double fastLowerBound(T 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<T>
      Parameters:
      state - the current state
      Returns:
      a lower bound on the remaining cost