TransInfoGraph¶
** This is the graph to store the result of transitive analysis. An object of this class is passed as argument to construct a GraphTransAnalysis operator, and as we invoke GraphTransAnalysis::ComputeTransInfo to compute transitive info between nodes of the input graph, the transitive info is stored into TransInfoGraph by calling TransInfoGraph::SetTransInfo. Users of GraphTransAnalysis must implement all three virtual functions defined TransInfoGraph, to record and return transitive information already computed. The template paramter T is the type of transitive information (the result of transitive analysis). It models information regarding transitive paths in the input graph
Synopsis¶
Declared in <graphs/TransAnalysis.h>
template<class T>
class TransInfoGraph; Member Functions¶
| Name | Description |
|---|---|
~TransInfoGraphvirtual ~TransInfoGraph(); [destructor] [virtual] | Destructor |
Dumpvirtual void Dump() const; [virtual] | |
GetTransInfovirtual T GetTransInfo( GraphAccessInterface::Node const* src, GraphAccessInterface::Node const* snk) = 0; [virtual] | |
SetTransInfovirtual void SetTransInfo( GraphAccessInterface::Node* src, GraphAccessInterface::Node* snk, T e) = 0; [virtual] | |
TransInfoComputedvirtual bool TransInfoComputed( GraphAccessInterface::Node const* src, GraphAccessInterface::Node const* snk) = 0; [virtual] |
Derived Classes¶
| Name | Description |
|---|---|
TransDepGraphCreate |
Created with MrDocs