Interface FundamentalDiagram.FdLine

Enclosing class:
FundamentalDiagram

public static interface FundamentalDiagram.FdLine
Defines a line plot for a fundamental diagram.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the name of the line, as shown in the legend.
    double[]
    Return the values for the given quantity.
  • Method Details

    • getValues

      double[] getValues(FundamentalDiagram.Quantity quantity)
      Return the values for the given quantity. For two quantities, this should result in a 2D fundamental diagram line.
      Parameters:
      quantity - Quantity; quantity to return value for.
      Returns:
      double[]; values for quantity
    • getName

      String getName()
      Returns the name of the line, as shown in the legend.
      Returns:
      String; name of the line, as shown in the legend