Interface FlowGraphFilter.Forward

    • Method Detail

      • newForwardTraversal

        IFlowGraphFilterInstance newForwardTraversal​(Set<NodeKey> startNodes,
                                                     ITaskFlowAnalysisData data)
        Called at the beginning before a forward traversal operation on flow graph starts (e.g. when finding the successors 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 forward traversal is a traversal that only traverses edge in the direction they point to, i.e. a traversal that only accesses the successors 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.