Interface FundamentalDiagram.FdLine

  • Enclosing class:
    FundamentalDiagram

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

      • 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