Class RunsData

  • All Implemented Interfaces:
    IQuantitativeMeasure

    public class RunsData
    extends Object
    implements IQuantitativeMeasure
    The class represents a set of the run records
    Since:
    1.0
    Version:
    1.0
    Author:
    Mofeed Hassan (mounir@informatik.uni-leipzig.de)
    • Field Detail

      • runs

        protected Map<Long,​RunRecord> runs
        list of recorded runs, each with its information like id,time,memory...etc
    • Constructor Detail

      • RunsData

        public RunsData()
    • Method Detail

      • getRun

        public RunRecord getRun​(long runId)
        Description copied from interface: IQuantitativeMeasure
        It retrieves the run record with its information
        Specified by:
        getRun in interface IQuantitativeMeasure
        Parameters:
        runId - the id of the run
        Returns:
        the run record including its information
      • setRun

        public void setRun​(long runId,
                           RunRecord record)
        Description copied from interface: IQuantitativeMeasure
        It sets the run record with its information
        Specified by:
        setRun in interface IQuantitativeMeasure
        Parameters:
        runId - the id of the run
        record - the run record data
      • getRunInfo

        public double getRunInfo​(long runId,
                                 String Info)
        Description copied from interface: IQuantitativeMeasure
        It gets a specific information from a run record
        Specified by:
        getRunInfo in interface IQuantitativeMeasure
        Parameters:
        runId - the id of the run
        Info - The name of the requested information
        Returns:
        double - The value of the required infromation