Directed non-cyclic graph walking system and method
First Claim
1. A graph walking system, comprising:
- a binding system for binding a graph observer with a graph, for binding node patterns to node observers to generate at least one node pairing, and for binding the graph observer to at least one node pattern-node observer pairing;
graph walking logic for systematically walking through nodes within the directed non-cyclic graph;
a pattern testing system for determining if an encountered node matches one of the node patterns;
an event manager for generating an encountered event when one of the node observers is bound to a matching node pattern; and
a pruning system that can deactivate the graph observer with respect to sub-nodes of the encountered node if a bound node observer determines that there is no interest in the sub-nodes.
3 Assignments
0 Petitions
Accused Products
Abstract
A system and method for efficiently walking a directed non-cyclic graph of hierarchical data using multiple analysis tools. The graph walking system comprises: a system for binding a plurality of graph observers to a graph, wherein each graph observer is further bound to a set of node patterns and a set of node observers; graph walking logic for systematically walking through nodes within the graph, wherein the graph walking logic can be instructed by a first pruning system not to walk a set of sub-nodes of an encountered node; and a second pruning system that can be instructed by a node observer bound with an associated graph observer to deactivate the associated graph observer until the set of sub-nodes for the encountered node has been walked. The first pruning system will cause the set of sub-nodes not to be walked only if all of the plurality of graph observers have been deactivated.
31 Citations
20 Claims
-
1. A graph walking system, comprising:
-
a binding system for binding a graph observer with a graph, for binding node patterns to node observers to generate at least one node pairing, and for binding the graph observer to at least one node pattern-node observer pairing;
graph walking logic for systematically walking through nodes within the directed non-cyclic graph;
a pattern testing system for determining if an encountered node matches one of the node patterns;
an event manager for generating an encountered event when one of the node observers is bound to a matching node pattern; and
a pruning system that can deactivate the graph observer with respect to sub-nodes of the encountered node if a bound node observer determines that there is no interest in the sub-nodes. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system for analyzing a graph of hierarchical data, comprising:
-
a system for binding a plurality of graph observers to a graph, wherein each graph observer is further bound to a set of node patterns and a set of node observers;
graph walking logic for systematically walking through nodes within the graph;
a first pruning system that can be instructed by a node observer bound with an associated graph observer to deactivate the associated graph observer until a set of sub-nodes for the encountered node has been walked; and
a second pruning system that can instruct the graph walking logic not to walk the set of sub-nodes for the encountered node. - View Dependent Claims (9, 10, 11)
-
-
12. A method for analyzing a graph of hierarchical data, comprising the steps of:
-
binding a plurality of graph observers to a graph, wherein each graph observer is further bound to a set of node patterns and a set of node observers;
systematically walking through nodes within the graph;
generating an encounter event and handling the encounter event with a bound node observer when one of the node patterns matches an encountered node;
deactivating the graph observer associated with the bound node observer if the bound node observer determines that a set of sub-nodes of the encountered node should be pruned; and
bypassing the walking of the set of sub-nodes if all of the plurality of graph observers have been deactivated. - View Dependent Claims (13, 14, 15, 16)
-
-
17. A program product stored on a recordable medium, which when executed, analyzes a graph of hierarchical data, the program product comprising:
-
program code configured to bind a plurality of graph observers to a graph, wherein each graph observer is further bound to a set of node patterns and a set of node observers;
program code configured to provide graph walking logic for systematically walking through nodes within the graph;
program code configured to provide a first pruning system that can be instructed by a node observer bound with an associated graph observer to deactivate the associated graph observer until a set of sub-nodes for an encountered node has been walked; and
program code configured to provide a second pruning system that can instruct the graph walking logic not to walk the set of sub-nodes for the encountered node. - View Dependent Claims (18, 19, 20)
-
Specification