Package org.ddolib.nolayer.modeling
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>
Default implementation of
FastLowerBound that always returns 0.0.-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of this default fast lower bound. -
Method Summary
Modifier and TypeMethodDescriptiondoublefastLowerBound(T state) Computes a lower bound on the remaining cost from the given state to reach any valid target state.
-
Constructor Details
-
DefaultFastLowerBound
public DefaultFastLowerBound()Creates a new instance of this default fast lower bound.
-
-
Method Details
-
fastLowerBound
Description copied from interface:FastLowerBoundComputes a lower bound on the remaining cost from the given state to reach any valid target state.- Specified by:
fastLowerBoundin interfaceFastLowerBound<T>- Parameters:
state- the current state- Returns:
- a lower bound on the remaining cost
-