Class Job

    • Constructor Detail

      • Job

        public Job​(String id,
                   DistContinuous serviceTimeDistribution,
                   FlowObject source,
                   double creationTime)
        constructs a new Job.
        Parameters:
        id - String; the job id
        serviceTimeDistribution - DistContinuous; the distribution from which to draw the serviceTime
        source - Station; the source of the job
        creationTime - double; time of creation
    • Method Detail

      • getServiceTime

        public double getServiceTime()
        returns the serviceTime.
        Returns:
        double the time
      • setServiceTime

        public void setServiceTime​(double serviceTime)
        sets the serviceTime.
        Parameters:
        serviceTime - double; the time
      • getOwner

        public FlowObject getOwner()
        returns the source.
        Returns:
        Station the owning terminal