Package jline.lang.nodes
Class Station
java.lang.Object
jline.lang.Element
jline.lang.NetworkElement
jline.lang.nodes.Node
jline.lang.nodes.StatefulNode
jline.lang.nodes.Station
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Join
,Place
,ServiceStation
,Source
A node where jobs can spend time stationing there
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected int
protected Map<JobClass,
DropStrategy> protected SerializableFunction<Matrix,
Double> protected Matrix
protected int
protected SchedStrategyType
protected SchedStrategy
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
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getCap()
double
getClassCap
(JobClass jobClass) getDropRule
(JobClass jobclass) int
boolean
boolean[]
boolean
isServiceDefined
(JobClass j_class) boolean[]
boolean
isServiceDisabled
(JobClass j_class) void
setCap
(int cap) void
void
setClassCap
(JobClass jobClass, int cap) void
setDropRule
(JobClass jobclass, DropStrategy drop) void
void
setLimitedLoadDependence
(Matrix alpha) void
setNumberOfServers
(int numberOfServers) Methods inherited from class jline.lang.nodes.StatefulNode
clearState, getState, getStatefulIndex, getStatePrior, setState, setStatePrior
Methods inherited from class jline.lang.nodes.Node
getAttribute, getDropStrategy, getInput, getModel, getNodeIdx, getOutput, getOutputStrategies, getRoutingStrategy, getSections, getServer, getStatefulIdx, getStationIdx, isStateful, printSummary, reset, resetRouting, setModel, setNodeIdx, setProbRouting, setRouting, setRouting, setStationIdx
Methods inherited from class jline.lang.NetworkElement
getName
-
Field Details
-
numberOfServers
protected int numberOfServers -
cap
protected int cap -
classCap
-
dropRule
-
lldScaling
-
lcdScaling
-
schedStrategy
-
schedPolicy
-
schedStrategyPar
-
-
Constructor Details
-
Station
-
-
Method Details
-
getSchedStrategy
-
getNumberOfServers
public int getNumberOfServers()- Overrides:
getNumberOfServers
in classStatefulNode
-
setNumberOfServers
public void setNumberOfServers(int numberOfServers) -
setClassCap
-
setChainCapacity
public void setChainCapacity() -
getClassCap
- Overrides:
getClassCap
in classNode
-
getCap
public double getCap() -
setCap
public void setCap(int cap) -
isServiceDefined
public boolean[] isServiceDefined() -
isServiceDefined
-
isServiceDisabled
public boolean[] isServiceDisabled() -
isServiceDisabled
-
getSourceRates
-
getServiceRates
-
isReferenceStation
public boolean isReferenceStation()- Overrides:
isReferenceStation
in classNode
-
getDropRule
-
setDropRule
-
getLimitedLoadDependence
-
setLimitedLoadDependence
-
getLimitedClassDependence
-
setLimitedClassDependence
-