Index
All Classes and Interfaces|All Packages
A
- addFIFOChannel(ProcessNode<T>, ProcessNode<T>) - Method in class io.github.sumeetk321.KahnProcessNetwork
-
Same as
addFIFOChannel(ProcessNode, ProcessNode, int, int)
, except sourceProduceAmt and destAcceptAmt are set by default to 1. - addFIFOChannel(ProcessNode<T>, ProcessNode<T>, int, int) - Method in class io.github.sumeetk321.KahnProcessNetwork
-
Adds a first-in-first-out channel between two nodes to the network.
- addIncomingChannel(FIFOChannel<T>) - Method in class io.github.sumeetk321.ProcessNode
-
Adds a FIFO channel to the list of incoming FIFO channels.
- addProcessNode(ProcessNode<T>) - Method in class io.github.sumeetk321.KahnProcessNetwork
-
Adds a process node to the network.
- addTokensToChannel() - Method in class io.github.sumeetk321.ProcessNode
-
Pops the requisite number of tokens from all of the incoming FIFO channels and executes the node's process, then adds the result(s) to the outgoing FIFO channel.
All Classes and Interfaces|All Packages