Package jline.solvers
Class NetworkAvgLinkTable
java.lang.Object
jline.solvers.AvgTable
jline.solvers.NetworkAvgLinkTable
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget(int col) Retrieves a specific column from the table as a list.intNumber of (link, class) rows.voidprint()Prints the table contents in a human-readable format.voidprint(SolverOptions options) voidvoidprintTable(SolverOptions options) voidsetClassNames(List<String> classNames) voidsetLinkNames(List<String> linkNames) voidsetOptions(SolverOptions options) Sets the solver options associated with this table.
-
Constructor Details
-
NetworkAvgLinkTable
-
-
Method Details
-
get
Description copied from class:AvgTableRetrieves a specific column from the table as a list. -
getNumRows
public int getNumRows()Number of (link, class) rows. -
getCapacity
-
getDemand
-
getOccupancy
-
getLinkBlocking
-
getRouteLoss
-
getLinkNames
-
setLinkNames
-
getClassNames
-
setClassNames
-
setOptions
Description copied from class:AvgTableSets the solver options associated with this table.- Overrides:
setOptionsin classAvgTable- Parameters:
options- the solver options used when computing this table
-
print
public void print()Description copied from class:AvgTablePrints the table contents in a human-readable format. Implementation is provided by subclasses for specific table types. -
print
-
printTable
public void printTable() -
printTable
-