Package jline.solvers
Class LayeredNetworkAvgTable
-
- All Implemented Interfaces:
public class LayeredNetworkAvgTable extends AvgTable
-
-
Method Summary
Modifier and Type Method Description List<String>getNodeNames()voidsetNodeNames(List<String> nodeNames)List<String>getNodeTypes()voidsetNodeTypes(List<String> nodeTypes)List<Double>get(int col)Retrieves a specific column from the table as a list. List<Double>getArvR()List<Double>getQLen()List<Double>getResidT()List<Double>getRespT()List<Double>getTput()List<Double>getUtil()voidprint()Prints the table contents in a human-readable format. voidprint(boolean printZeros)voidprint(SolverOptions options)voidprint(SolverOptions options, boolean printZeros)voidprintTable()voidprintTable(SolverOptions options)voidsetOptions(SolverOptions options)Sets the solver options associated with this table. -
-
Method Detail
-
getNodeNames
List<String> getNodeNames()
-
setNodeNames
void setNodeNames(List<String> nodeNames)
-
getNodeTypes
List<String> getNodeTypes()
-
setNodeTypes
void setNodeTypes(List<String> nodeTypes)
-
get
List<Double> get(int col)
Retrieves a specific column from the table as a list.
- Parameters:
col- the column index to retrieve- Returns:
the column data as a List of Double values
-
print
void print()
Prints the table contents in a human-readable format. Implementation is provided by subclasses for specific table types.
-
print
void print(boolean printZeros)
-
print
void print(SolverOptions options)
-
print
void print(SolverOptions options, boolean printZeros)
-
printTable
void printTable()
-
printTable
void printTable(SolverOptions options)
-
setOptions
void setOptions(SolverOptions options)
Sets the solver options associated with this table.
- Parameters:
options- the solver options used when computing this table
-
-
-
-