Interface Relaxation<T>

Type Parameters:
T - the type representing the states

public interface Relaxation<T>
Defines the relaxation rules for merging states in unlayered decision diagrams.
  • Method Summary

    Modifier and Type
    Method
    Description
    default double
    localCost(T origin, int label, T destination)
    Optional method to compute a local bound (or backward bound component) when taking a transition from an origin to a destination state.
    merge(Collection<T> states)
    Merges a collection of states into a single relaxed state.
  • Method Details

    • merge

      T merge(Collection<T> states)
      Merges a collection of states into a single relaxed state.
      Parameters:
      states - the collection of states to merge
      Returns:
      a new relaxed state representing the merged states
    • localCost

      default double localCost(T origin, int label, T destination)
      Optional method to compute a local bound (or backward bound component) when taking a transition from an origin to a destination state. This bound helps in providing a stronger dual bound in the backward pass. By default, it returns 0.0.
      Parameters:
      origin - the state before the transition
      label - the transition action/label
      destination - the state after the transition
      Returns:
      the local bound cost