Package jline.lang.sections
Class ClassSwitcher
java.lang.Object
jline.lang.Element
jline.lang.NetworkElement
jline.lang.sections.Section
jline.lang.sections.ServiceSection
jline.lang.sections.ClassSwitcher
- All Implemented Interfaces:
Serializable,Copyable
- Direct Known Subclasses:
StatefulClassSwitcher,StatelessClassSwitcher
A job class switcher based on a static probability table
- See Also:
-
Field Summary
FieldsFields inherited from class jline.lang.sections.ServiceSection
numberOfServers, serviceProcesses -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class jline.lang.sections.ServiceSection
containsJobClass, getServiceDistribution, getServiceProcess, removeServiceProcess, setServiceProcessesMethods inherited from class jline.lang.sections.Section
getClassName
-
Field Details
-
csFun
-
jobClasses
-
-
Constructor Details
-
ClassSwitcher
-
-
Method Details
-
applyCsFun
public double applyCsFun(int r, int s)
-