Description Usage Arguments Value
The function finds the processing level of the item in relation to the rest of the commodity items. The processing level is zero for all nodes which have no inputs (i.e. they can be processed in the first round). A node with inputs has it's processing level defined as 1 greater than the max processing level of all of it's input nodes. Thus, nodes at level 0 are processed first, as their processing doesn't depend on any other commodites. Then, nodes at processing level 1 are processed because all their inputs (level 0 nodes) have been computed. All nodes at a fixed processing level can thus be computed in one step.
1 2 | findProcessingLevel(edgeData, from, to, plot = FALSE,
aupusParam = list(itemVar = "temp"), errorOnLoop = TRUE)
|
edgeData |
The edge data, typically from the function buildEdges |
from |
The column name of edgeData corresponding to the from node. |
to |
The column name of edgeData corresponding to the target node. |
plot |
Logical, indicates of the graph should be plotted. |
aupusParam |
A list of running parameters to be used in pulling the data. Typically, this is generated from getAupusParameter (see that function for a description of the required elements). |
A data.table providing the processing level for each of the items.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.