Package jline.lang
Class SelfLoopingClass
-
- All Implemented Interfaces:
-
java.io.Serializable,jline.lang.Copyable
public class SelfLoopingClass extends ClosedClass implements Serializable
Class of jobs that perpetually loop at a given station
-
-
Field Summary
Fields Modifier and Type Field Description protected doublepopulationprotected Networkmodelprotected JobClassTypetypeprotected intpriorityprotected booleancompletesprotected Stationrefstatprotected booleanisrefclassprotected intindexprotected doubledeadlinepublic Array<Integer>attributepublic intreplySignalClassIndexpublic Distributionpatiencepublic ImpatienceTypeimpatienceTypepublic BalkingStrategybalkingStrategypublic List<BalkingThreshold>balkingThresholdspublic DistributionretrialDelayDistributionpublic intmaxRetrialAttemptsprotected Stringname
-
Constructor Summary
Constructors Constructor Description SelfLoopingClass(Network model, String name, long njobs, Station refstat, int priority)Creates a new self-looping job class with specified priority. SelfLoopingClass(Network model, String name, long njobs, Station refstat)Creates a new self-looping job class with default priority (0).
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class jline.lang.JobClass
expectsReply, getAttribute, getBalkingStrategy, getBalkingThresholds, getCompletes, getDeadline, getImpatienceType, getIndex, getJobClassType, getMaxRetrialAttempts, getPatience, getPriority, getReplySignalClassIndex, getRetrialDelayDistribution, hasBalking, hasImmediateFeedback, hasPatience, hasRetrial, isReferenceClass, isReferenceStation, setAttribute, setBalking, setBalking, setCompletes, setDeadline, setImmediateFeedback, setPatience, setPatience, setPriority, setReferenceClass, setReferenceStation, setReplySignalClassIndex, setRetrial, setRetrial -
Methods inherited from class jline.lang.ClosedClass
getNumberOfJobs, getPopulation, getReferenceStation, printSummary, setPopulation -
Methods inherited from class jline.lang.Element
getName, setName -
Methods inherited from class jline.lang.Copyable
copy -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
SelfLoopingClass
SelfLoopingClass(Network model, String name, long njobs, Station refstat, int priority)
Creates a new self-looping job class with specified priority.- Parameters:
model- the network model to add this class toname- the name for this self-looping classnjobs- the number of jobs in this closed classrefstat- the reference station where jobs looppriority- the priority level for this class
-
SelfLoopingClass
SelfLoopingClass(Network model, String name, long njobs, Station refstat)
Creates a new self-looping job class with default priority (0).- Parameters:
model- the network model to add this class toname- the name for this self-looping classnjobs- the number of jobs in this closed classrefstat- the reference station where jobs loop
-
-
-
-