Package jline.lang.nodes
Class Node
java.lang.Object
jline.lang.Element
jline.lang.NetworkElement
jline.lang.nodes.Node
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ClassSwitch
,Fork
,Logger
,ServiceNode
,Sink
,StatefulNode
Superclass for a node element within a Network model
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected DropStrategy
protected InputSection
protected int
protected OutputSection
protected ServiceSection
protected int
protected int
Fields inherited from class jline.lang.NetworkElement
name
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getCap()
double
getClassCap
(JobClass jobClass) getInput()
getModel()
int
getRoutingStrategy
(JobClass jobClass) int
int
boolean
boolean
void
void
reset()
void
void
void
setNodeIdx
(int index) void
setProbRouting
(JobClass jobClass, Node destination, double probability) void
setRouting
(JobClass jobClass, RoutingStrategy routingStrategy) void
setRouting
(JobClass jobClass, RoutingStrategy routingStrategy, Node destination, double probability) void
setStationIdx
(int index) Methods inherited from class jline.lang.NetworkElement
getName
-
Field Details
-
model
-
input
-
output
-
server
-
dropStrategy
-
statefulIdx
protected int statefulIdx -
nodeIndex
protected int nodeIndex -
stationIdx
protected int stationIdx
-
-
Constructor Details
-
Node
-
-
Method Details
-
getModel
-
setModel
-
setRouting
-
setRouting
public void setRouting(JobClass jobClass, RoutingStrategy routingStrategy, Node destination, double probability) -
setProbRouting
-
resetRouting
public void resetRouting() -
getRoutingStrategy
-
printSummary
public void printSummary() -
getClassCap
-
getCap
public double getCap() -
getOutputStrategies
-
getDropStrategy
-
isReferenceStation
public boolean isReferenceStation() -
getStatefulIdx
public int getStatefulIdx() -
isStateful
public boolean isStateful() -
getNodeIdx
public int getNodeIdx() -
setNodeIdx
public void setNodeIdx(int index) -
getStationIdx
public int getStationIdx() -
setStationIdx
public void setStationIdx(int index) -
getInput
-
getOutput
-
getServer
-
getAttribute
-
reset
public void reset() -
getSections
-