|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.tudelft.simulation.examples.dsol.timesharedcomputer.Job
public class Job
The Computer job as published in Simulation Modeling and Analysis by A.M. Law &
W.D. Kelton section 1.4 and 2.4.
(c) copyright 2003 Delft
University of Technology , the Netherlands.
See for project information
www.simulation.tudelft.nl
License of use: General Public
License (GPL) , no warranty
Constructor Summary | |
---|---|
Job(DistContinuous serviceTimeDistribution,
StationInterface source,
double creationTime)
constructs a new Job |
Method Summary | |
---|---|
double |
getCreationTime()
gets the creationTime of the Job |
StationInterface |
getOwner()
returns the source |
double |
getServiceTime()
returns the serviceTime |
void |
setServiceTime(double serviceTime)
sets the serviceTime |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Job(DistContinuous serviceTimeDistribution, StationInterface source, double creationTime)
serviceTimeDistribution
- the distribution from which to draw the
serviceTimesource
- the source of the jobcreationTime
- time of creationMethod Detail |
---|
public double getCreationTime()
public double getServiceTime()
public void setServiceTime(double serviceTime)
serviceTime
- the timepublic StationInterface getOwner()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |