Package jline.solvers

Class NetworkAvgLinkTable

java.lang.Object
jline.solvers.AvgTable
jline.solvers.NetworkAvgLinkTable

public class NetworkAvgLinkTable extends AvgTable
Table of the per-link measures of a loss network solved by SolverNC, one row per link and job class that uses it: Capacity, Demand, Occupancy, LinkBlocking and RouteLoss, labelled by the Link and JobClass columns.

Each constraint row of the region admission rule A n <= C is a link, named GlobalMaxJobs, GlobalMaxMemory, ClassMaxJobs:<class> or Constraint<k>. Port of MATLAB getAvgLinkTable.m.

  • Constructor Details

  • Method Details

    • 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
    • getNumRows

      public int getNumRows()
      Number of (link, class) rows.
    • getCapacity

      public List<Double> getCapacity()
    • getDemand

      public List<Double> getDemand()
    • getOccupancy

      public List<Double> getOccupancy()
    • getLinkBlocking

      public List<Double> getLinkBlocking()
    • getRouteLoss

      public List<Double> getRouteLoss()
    • getLinkNames

      public List<String> getLinkNames()
    • setLinkNames

      public void setLinkNames(List<String> linkNames)
    • 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)