Package jline.lang.nodes
Class ClassSwitch
java.lang.Object
jline.lang.Element
jline.lang.NetworkElement
jline.lang.nodes.Node
jline.lang.nodes.ClassSwitch
- All Implemented Interfaces:
Serializable
A node that switches the class of an incoming job based on a probability table
- See Also:
-
Field Summary
Fields inherited from class jline.lang.nodes.Node
dropStrategy, input, model, nodeIndex, output, server, statefulIdx, stationIdx
Fields inherited from class jline.lang.NetworkElement
name
-
Constructor Summary
ConstructorDescriptionClassSwitch
(Network model, String name) ClassSwitch
(Network model, String name, Matrix csFun) -
Method Summary
Modifier and TypeMethodDescriptionvoid
setClassSwitchingMatrix
(ClassSwitchMatrix csMatrix) void
setProbRouting
(JobClass jobClass, Node destination, double probability) Methods inherited from class jline.lang.nodes.Node
getAttribute, getCap, getClassCap, getDropStrategy, getInput, getModel, getNodeIdx, getOutput, getOutputStrategies, getRoutingStrategy, getSections, getServer, getStatefulIdx, getStationIdx, isReferenceStation, isStateful, printSummary, reset, resetRouting, setModel, setNodeIdx, setRouting, setRouting, setStationIdx
Methods inherited from class jline.lang.NetworkElement
getName
-
Field Details
-
autoAdded
public boolean autoAdded -
schedPolicy
-
schedStrategy
-
-
Constructor Details
-
ClassSwitch
-
ClassSwitch
-
-
Method Details
-
initClassSwitchMatrix
-
setClassSwitchingMatrix
-
setProbRouting
- Overrides:
setProbRouting
in classNode
-