Class ParameterizedMetricKey<N extends Node>

  • Type Parameters:
    N - Type of node on which the memoized metric can be computed

    public final class ParameterizedMetricKey<N extends Node>
    extends Object
    Represents a key parameterized with its options. Used to index memoization maps.
    Since:
    5.8.0
    Author:
    Clément Fournier
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getInstance

        public static <N extends NodeParameterizedMetricKey<N> getInstance​(MetricKey<N> key,
                                                                             MetricOptions options)
        Builds a parameterized metric key.
        Type Parameters:
        N - The type of node of the metric key
        Parameters:
        key - The key
        options - The options
        Returns:
        An instance of parameterized metric key corresponding to the parameters