Package jline.solvers

Class NetworkAvgTable

  • All Implemented Interfaces:

    
    public class NetworkAvgTable
    extends AvgTable
                        

    Table for displaying network performance metrics organized by station and job class.

    This class provides a structured way to access and display steady-state performance metrics including queue lengths, utilizations, response times, throughputs, and arrival rates. The table is organized with rows representing station-class pairs and columns representing different performance metrics.

    • Constructor Detail

      • NetworkAvgTable

        NetworkAvgTable(List<Double> Qval, List<Double> Uval, List<Double> Rval, List<Double> Residval, List<Double> ArvRval, List<Double> Tval)
        Creates a new NetworkAvgTable with the specified performance metric values.
        Parameters:
        Qval - list of queue length values
        Uval - list of utilization values
        Rval - list of response time values
        Residval - list of residence time values
        ArvRval - list of arrival rate values
        Tval - list of throughput values
    • Method Detail

      • setClassNames

         void setClassNames(List<String> classNames)

        Sets the list of job class names.

        Parameters:
        classNames - list of class names to set
      • setStationNames

         void setStationNames(List<String> stationNames)

        Sets the list of station names.

        Parameters:
        stationNames - list of station names to set
      • tget

         static AvgTable tget(NetworkAvgTable T, String anyname)

        Extracts rows from the table matching the specified name (station or class).

        Parameters:
        T - the table to extract from
        anyname - name of station or class to match
        Returns:

        filtered table containing matching rows

      • tget

         static AvgTable tget(NetworkAvgTable T, String stationname, String classname)

        Extracts rows from the table matching both station and class names.

        Parameters:
        T - the table to extract from
        stationname - name of the station to match
        classname - name of the job class to match
        Returns:

        filtered table containing matching rows

      • get

         List<Double> get(int col)

        Returns the values from the specified column.

        Parameters:
        col - column index (0=QLen, 1=Util, 2=RespT, 3=ResidT, 4=ArvR, 5=Tput)
        Returns:

        list of values from the column

      • getQLen

         List<Double> getQLen()

        Returns the queue length values from the table.

        Returns:

        list of queue length values

      • getResidT

         List<Double> getResidT()

        Returns the residence time values from the table.

        Returns:

        list of residence time values

      • getRespT

         List<Double> getRespT()

        Returns the response time values from the table.

        Returns:

        list of response time values

      • getUtil

         List<Double> getUtil()

        Returns the utilization values from the table.

        Returns:

        list of utilization values

      • print

         void print()

        Prints the table contents in a human-readable format. Implementation is provided by subclasses for specific table types.

      • setNumberOfDigits

         void setNumberOfDigits(int nd)

        Sets the number of decimal digits to display in formatted output.

        Parameters:
        nd - number of decimal digits
      • setOptions

         void setOptions(SolverOptions options)

        Sets the solver options for this table.

        Parameters:
        options - solver options to associate with this table