Uses of Class
QueueNet.NetNode
Packages that use NetNode
Package
Description
Strategy interfaces and base classes used by the JSIM simulation engine to implement the behaviour of the network elements.
Strategies used by fork stations to split a job into the output tasks that are then routed to the downstream stations.
Queue visit strategies that select which job leaves the queue to enter service, implementing scheduling disciplines such as FCFS, LCFS, SJF, LJF and SEPT.
Routing strategies used by router nodes to select the destination station of each departing job.
Node sections, the building blocks from which the JSIM simulation engine stations are composed.
Queueing network model of the JSIM simulation engine: nodes, stations, jobs, job classes, measures and the global structures that connect them.
Random number generation for the JSIM simulation engine.
Core of the JSIM discrete event simulation engine: the simulation system, entities, events, predicates and event queues on which all JMT simulation tools rely.
-
Uses of NetNode in NetStrategies
Methods in NetStrategies that return NetNodeModifier and TypeMethodDescriptionabstract NetNodeRoutingStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) This method should be overridden to implement a specific strategy.RoutingStrategy.getOutNode(NodeSection section, Job job) RoutingStrategy.getOutNode(NodeSection section, JobClass jobClass) Methods in NetStrategies with parameters of type NetNodeModifier and TypeMethodDescriptionabstract JobQueueGetStrategy.get(JobInfoList queue, NetNode ownerNode) This method should be overridden to implement a specific job strategy.abstract NetNodeRoutingStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) This method should be overridden to implement a specific strategy.abstract NodeListWithJobNumForkStrategy.getOutNodes(NetNode ownerNode, JobClass jobClass) -
Uses of NetNode in NetStrategies.ForkStrategies
Methods in NetStrategies.ForkStrategies with parameters of type NetNodeModifier and TypeMethodDescriptionClassSwitchFork.getOutNodes(NetNode ownerNode, JobClass jobClass) CombFork.getOutNodes(NetNode ownerNode, JobClass jobClass) ProbabilitiesFork.getOutNodes(NetNode ownerNode, JobClass jobClass) -
Uses of NetNode in NetStrategies.QueueGetStrategies
Methods in NetStrategies.QueueGetStrategies with parameters of type NetNodeModifier and TypeMethodDescriptionExhaustivePollingGetStrategy.get(JobInfoList queue, NetNode ownerNode) FCFSstrategy.get(JobInfoList queue, NetNode ownerNode) GatedPollingGetStrategy.get(JobInfoList queue, NetNode ownerNode) LCFSstrategy.get(JobInfoList queue, NetNode ownerNode) LimitedPollingGetStrategy.get(JobInfoList queue, NetNode ownerNode) -
Uses of NetNode in NetStrategies.RoutingStrategies
Methods in NetStrategies.RoutingStrategies that return NetNodeModifier and TypeMethodDescriptionClassSwitchRoutingStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) Deprecated.ClassSwitchRoutingStrategy.getOutNode(NodeSection section, Job job) DisabledRoutingStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) This method should be overridden to implement a specific strategy.EmpiricalStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) Gets the output node, into which the job must be routed, using an empirical strategy.FastestServiceRoutingStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) This strategy selects the resource with the fastest service for this jobClass among the output nodes.LeastUtilizationRoutingStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) This strategy selects the resource with the least utilization among the output nodes.LoadDependentRoutingParameter.getOutNode(NetNode ownerNode) LoadDependentRoutingStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) Deprecated.LoadDependentRoutingStrategy.getOutNode(NodeSection section, JobClass jobClass) PowerOfKRoutingStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) This strategy selects the resource with the shortest queue among k output nodes selected at random.PropertyBasedStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) RandomStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) Gets the output node, into which the job must be routed, using a random strategy.RoundRobinStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) Gets the output node, into which the job must be routed, using a round robin strategy.ShortestQueueLengthRoutingStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) This strategy selects the resource with the shortest queue length among the output nodes.ShortestResponseTimeRoutingStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) This strategy selects the resource with the shortest response time for this jobClass among the output nodes.WeightedRoundRobinStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) Gets the output node, into which the job must be routed, using a weighted round robin strategy.Methods in NetStrategies.RoutingStrategies with parameters of type NetNodeModifier and TypeMethodDescriptionprotected doublePowerOfKRoutingStrategy.calculateProperty(NetNode node, JobClass jobClass) protected abstract doublePropertyBasedStrategy.calculateProperty(NetNode node, JobClass jobClass) protected final intPropertyBasedStrategy.calculateQueueLength(NetNode node, boolean isClosedClass) ClassSwitchRoutingStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) Deprecated.DisabledRoutingStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) This method should be overridden to implement a specific strategy.EmpiricalStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) Gets the output node, into which the job must be routed, using an empirical strategy.FastestServiceRoutingStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) This strategy selects the resource with the fastest service for this jobClass among the output nodes.LeastUtilizationRoutingStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) This strategy selects the resource with the least utilization among the output nodes.LoadDependentRoutingParameter.getOutNode(NetNode ownerNode) LoadDependentRoutingStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) Deprecated.PowerOfKRoutingStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) This strategy selects the resource with the shortest queue among k output nodes selected at random.PropertyBasedStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) RandomStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) Gets the output node, into which the job must be routed, using a random strategy.RoundRobinStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) Gets the output node, into which the job must be routed, using a round robin strategy.ShortestQueueLengthRoutingStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) This strategy selects the resource with the shortest queue length among the output nodes.ShortestResponseTimeRoutingStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) This strategy selects the resource with the shortest response time for this jobClass among the output nodes.WeightedRoundRobinStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) Gets the output node, into which the job must be routed, using a weighted round robin strategy. -
Uses of NetNode in NodeSections
Methods in NodeSections with parameters of type NetNodeModifier and TypeMethodDescriptionprotected voidBlockingQueue.nodeLinked(NetNode node) voidCache.nodeLinked(NetNode ownerNode) when the node section itself is linked to the owner node.protected voidClassSwitch.nodeLinked(NetNode node) protected voidEnabling.nodeLinked(NetNode node) protected voidFiring.nodeLinked(NetNode node) protected voidFork.nodeLinked(NetNode node) protected voidJobSink.nodeLinked(NetNode node) protected voidJoin.nodeLinked(NetNode node) protected voidLinkage.nodeLinked(NetNode node) protected voidPollingServer.nodeLinked(NetNode node) protected voidPSServer.nodeLinked(NetNode node) protected voidPSServerPriority.nodeLinked(NetNode node) protected voidQueue.nodeLinked(NetNode node) protected voidRandomSource.nodeLinked(NetNode node) protected voidRouter.nodeLinked(NetNode node) protected voidServer.nodeLinked(NetNode node) protected voidStorage.nodeLinked(NetNode node) protected voidTerminal.nodeLinked(NetNode node) protected voidTiming.nodeLinked(NetNode node) -
Uses of NetNode in QueueNet
Modifier and TypeFieldDescriptionprotected NetNodeForkJobInfo.forkNodeReference to fork nodeprotected NetNodeBlockingRegion.inputStationreference to the fictitious station which controls arrivals to the blocking regionprotected NetNode[]BlockingRegion.regionNodesthe nodes contained in the blocking regionModifier and TypeMethodDescriptionNodeList.get(int index) Gets the i-th node in the list.Gets the node with a specific name in the list.NetMessage.getDestination()Gets the Destination field of the NetMessage.NodeList.getFirst()Gets the first node in the list.ForkJob.getForkNode()Gets fork node that forked the parent job.ForkJobInfo.getForkNode()Gets fork node that forked the parent job.BlockingRegion.getInputStation()Gets the fictitious station that controls arrivals to the blocking regionNodeList.getLast()Gets the last node in the list.final NetNodeNetSystem.getNode(int Id) Gets a node from its id.Gets a node from its name.Gets the NetNode with the specified name.Gets the destination node of this redirected job.NodeSection.getOwnerNode()Gets the owner node of this section.BlockingRegion.getRegionNode(String nodeName) Returns a node, if contained in the blocking regionNetMessage.getSource()Gets the Source field of the NetMessage.WaitingRequest.getSource()Gets the source node of the job.NetNode[]NodeList.toArray()Converts the list into an array of nodes.Modifier and TypeMethodDescriptionGlobalJobInfoList.getChainSet()Gets chain set.Job.getLastVisitedPair()Gets the last pair visited by this job.Map<org.apache.commons.math3.util.Pair<NetNode, JobClass>, Set<org.apache.commons.math3.util.Pair<NetNode, JobClass>>> GlobalJobInfoList.getPairChainMap()Gets pair chain map.Map<org.apache.commons.math3.util.Pair<NetNode, JobClass>, Set<org.apache.commons.math3.util.Pair<NetNode, JobClass>>> GlobalJobInfoList.getPairChainMap()Gets pair chain map.GlobalJobInfoList.getVisitCountPerChain()Gets visit count per chain.NodeList.listIterator()Gets an iterator of the list.Modifier and TypeMethodDescriptionvoidAdds a new node to the list.voidvoidAdds a generic node to the network.voidQueueNetwork.addReferenceNode(NetNode node) Adds a node to the network and forces it to be a reference node.booleanBlockingRegion.belongsToRegion(NetNode node) Tells whether a node is contained in the blocking regionvoidConnects the output of this netNode to the input of an another netNode.booleanUsed to know if a node is in the list.NodeListWithJobNum.getJobNumPerClass(NetNode node) intNodeListWithJobNum.getTotalNum(NetNode node) intGets the index of a node.booleanNodeSection.isMyOwnerNode(NetNode node) Checks if the specified node is the owner node of this section.protected voidNodeSection.nodeLinked(NetNode node) This method should be overridden to implement a specific behaviour of the node section when the node section itself is linked to the owner node.protected RemoveTokenRedirects a job to a section of a node without updating measures.voidRemoves a node from the list.protected RemoveTokenNodeSection.send(int event, Object data, double delay, byte destinationSection, NetNode destination) Sends an event to a section of a node.protected RemoveTokenSends an event to the input section of a node.protected RemoveTokenSends a job to a section of a node.protected RemoveTokenSends a job to the input section of a node.protected RemoveTokenNodeSection.sendAckAfterDrop(Job job, double delay, byte destinationSection, NetNode destination) Sends an "ack" event to a section of a node to inform it that the job previously sent has been dropped.booleanvoidNetMessage.setDestination(NetNode destination) Sets the destination field of the NetMessage.voidBlockingRegion.setInputStation(NetNode inputStation) Sets the input station of the blocking regionvoidJob.setOriginalDestinationNode(NetNode node) Sets the destination node of this redirected job.voidSets the source field of the NetMessage.Modifier and TypeMethodDescriptionvoidJob.AddToVisitPath(org.apache.commons.math3.util.Pair<NetNode, JobClass> pair) Adds a pair to the visit path of this job.voidJob.setLastVisitedPair(org.apache.commons.math3.util.Pair<NetNode, JobClass> pair) Sets the last pair visited by this job.protected voidGlobalJobInfoList.updateChainGraph(org.apache.commons.math3.util.Pair<NetNode, JobClass> sourcePair, org.apache.commons.math3.util.Pair<NetNode, JobClass> targetPair) Updates chain graph.ModifierConstructorDescriptionForkJobInfo(Job forkedJob, int forkedNum, NetNode forkNode) Creates a new ForkJobInfo, given parent job, number of child jobs and fork node.WaitingRequest(Job job, byte sourceSection, NetNode source) Creates a new instance of WaitingRequest object. -
Uses of NetNode in random
-
Uses of NetNode in simEngine