Package jline.lang
Class ClosedClass
java.lang.Object
jline.lang.Element
jline.lang.NetworkElement
jline.lang.JobClass
jline.lang.ClosedClass
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SelfLoopingClass
Class where jobs perpetually loop without arriving or leaving (Closed class)
- See Also:
-
Field Summary
Fields inherited from class jline.lang.JobClass
completes, index, isrefclass, priority, refstat, type
Fields inherited from class jline.lang.NetworkElement
name
-
Constructor Summary
ConstructorDescriptionClosedClass
(Network model, String name, double njobs, Station refstat) ClosedClass
(Network model, String name, double njobs, Station refstat, int priority) -
Method Summary
Methods inherited from class jline.lang.JobClass
getAttribute, getCompletes, getIndex, getJobClassType, getPriority, isReferenceClass, isReferenceStation, setAttribute, setCompletes, setPriority, setReferenceClass, setReferenceStation
Methods inherited from class jline.lang.NetworkElement
getName
-
Field Details
-
population
protected double population -
classIndex
protected int classIndex -
model
-
-
Constructor Details
-
ClosedClass
-
ClosedClass
-
-
Method Details
-
printSummary
public void printSummary()- Overrides:
printSummary
in classJobClass
-
getNumberOfJobs
public double getNumberOfJobs()- Overrides:
getNumberOfJobs
in classJobClass
-
getPopulation
public double getPopulation() -
setPopulation
public void setPopulation(double pop) -
getReferenceStation
- Overrides:
getReferenceStation
in classJobClass
-
getJobClassIdx
public int getJobClassIdx()- Overrides:
getJobClassIdx
in classJobClass
-