Interface FlowGraphFilter.Backward

    • Method Detail

      • newBackwardTraversal

        IFlowGraphFilterInstance newBackwardTraversal​(Set<NodeKey> startNodes,
                                                      ITaskFlowAnalysisData data)
        Called at the beginning before a forward traversal operation on flow graph starts (e.g. when finding the predecessors of a node). Must create the filter method to use during the traversal operation. That filter may make use some state derived from the given params.

        A backward traversal is a traversal that only traverses edge in the opposite direction they point to, i.e. a traversal that only accesses the predecessors of a node.

        Parameters:
        startNodes - A set of nodes in the flow graph where the traversal starts.
        data - Flow graph analysis result upon which the traversal operation is performed.
        Returns:
        The filter instance to use for the duration of a single traversal operation.