Interface DagMetric.MetricComputer

Enclosing interface:
DagMetric
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface DagMetric.MetricComputer
Represents a functional interface for computing a metric value from a DataSet and Graph.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    compute(DataSet data, Graph dag)
    Computes a metric value based on the given dataset and directed acyclic graph (DAG).
  • Method Details

    • compute

      double compute(DataSet data, Graph dag)
      Computes a metric value based on the given dataset and directed acyclic graph (DAG).
      Parameters:
      data - the dataset to be evaluated
      dag - the directed acyclic graph used for the computation
      Returns:
      the computed metric value as a double