Package jline.solvers

Class NetworkLossTable

java.lang.Object
jline.solvers.AvgTable
jline.solvers.NetworkLossTable

public class NetworkLossTable extends AvgTable
Table of loss (drop) metrics for every station-class pair that receives offered traffic: offered arrival rate (ArvR), carried throughput (Tput), loss rate (ArvR - Tput, the rate of jobs dropped by finite capacity, blocking, or reneging) and loss ratio (LossRate / ArvR).

Only pairs with ArvR > 0 are listed, which excludes the Source (whose offered arrival rate is zero); a lossless station has ArvR = Tput and so LossRate = LossRatio = 0. Port of MATLAB getAvgLossTable.m.

  • Constructor Details

  • Method Details

    • setFirstColumnName

      public void setFirstColumnName(String name)
    • get

      public List<Double> get(int col)
      Description copied from class: AvgTable
      Retrieves a specific column from the table as a list.
      Overrides:
      get in class AvgTable
      Parameters:
      col - the column index to retrieve
      Returns:
      the column data as a List of Double values
    • getArvR

      public List<Double> getArvR()
    • getTput

      public List<Double> getTput()
    • getLossRate

      public List<Double> getLossRate()
    • getLossRatio

      public List<Double> getLossRatio()
    • getStationNames

      public List<String> getStationNames()
    • setStationNames

      public void setStationNames(List<String> stationNames)
    • getClassNames

      public List<String> getClassNames()
    • setClassNames

      public void setClassNames(List<String> classNames)
    • setOptions

      public void setOptions(SolverOptions options)
      Description copied from class: AvgTable
      Sets the solver options associated with this table.
      Overrides:
      setOptions in class AvgTable
      Parameters:
      options - the solver options used when computing this table
    • print

      public void print()
      Description copied from class: AvgTable
      Prints the table contents in a human-readable format. Implementation is provided by subclasses for specific table types.
      Specified by:
      print in class AvgTable
    • print

      public void print(SolverOptions options)
    • printTable

      public void printTable()
    • printTable

      public void printTable(SolverOptions options)