![]() |
PandA-2024.02
|
bulk graph. More...
#include <graph.hpp>


Public Member Functions | |
| graphs_collection (GraphInfoRef info, const ParameterConstRef _parameters) | |
| Constructor of graph. More... | |
| virtual | ~graphs_collection ()=default |
| Destructor. More... | |
| boost::graph_traits< graphs_collection >::edge_descriptor | AddSelector (const boost::graph_traits< graphs_collection >::edge_descriptor edge, const int selector) |
| Add a selector to an existing edge. More... | |
| boost::graph_traits< graphs_collection >::edge_descriptor | AddSelector (const boost::graph_traits< graphs_collection >::vertex_descriptor source, const boost::graph_traits< graphs_collection >::vertex_descriptor target, const int selector) |
| Add a selector to an existing edge. More... | |
| void | RemoveSelector (boost::graph_traits< graphs_collection >::edge_descriptor edge) |
| Remove all the selectors of an edge from this graph. More... | |
| void | RemoveSelector (boost::graph_traits< graphs_collection >::edge_descriptor edge, const int selector) |
| Remove an edge from this graph. More... | |
| void | RemoveSelector (boost::graph_traits< graphs_collection >::vertex_descriptor source, boost::graph_traits< graphs_collection >::vertex_descriptor target, const int selector) |
| Remove an edge from this graph. More... | |
| int | GetSelector (const edge_descriptor e) const |
| Return the selectors associated with an edge. More... | |
| virtual boost::graph_traits< boost_graphs_collection >::vertex_descriptor | AddVertex (const NodeInfoRef info) |
| Add a vertex to this graph with a property. More... | |
| boost::graph_traits< graphs_collection >::edge_descriptor | AddEdge (boost::graph_traits< graphs_collection >::vertex_descriptor, boost::graph_traits< graphs_collection >::vertex_descriptor, const int) |
| Add an edge to this graph FIXME: this should be pure virtual. More... | |
| boost::graph_traits< graphs_collection >::edge_descriptor | InternalAddEdge (boost::graph_traits< graphs_collection >::vertex_descriptor source, boost::graph_traits< graphs_collection >::vertex_descriptor target, const int selector, const EdgeInfoRef info) |
| Add an edge to this graph FIXME: this should be protected. More... | |
| virtual void | RemoveVertex (boost::graph_traits< boost_graphs_collection >::vertex_descriptor v) |
| Remove a vertex from this graph. More... | |
| bool | ExistsEdge (const boost::graph_traits< graphs_collection >::vertex_descriptor source, const boost::graph_traits< graphs_collection >::vertex_descriptor target) const |
| Check if an edge exists. More... | |
| void | CompressEdges () |
Data Fields | |
| const ParameterConstRef | parameters |
| Set of input parameters. More... | |
bulk graph.
All the edge of a graph are store in this object
|
inline |
Constructor of graph.
| info | is the property associated with the graph |
Definition at line 297 of file graph.hpp.
References boost_CGetOpGraph_property.
|
virtualdefault |
Destructor.
|
inline |
Add an edge to this graph FIXME: this should be pure virtual.
| source | is the source of the edge to be added |
| target | is the target of the edge to be added |
| selector | is the selector to be set on the edge |
| info | is the info to be associated with the edge |
Definition at line 392 of file graph.hpp.
References THROW_UNREACHABLE.
|
inline |
Add a selector to an existing edge.
| edge | is the edge to be considered |
| selector | is the selector to be added |
Definition at line 311 of file graph.hpp.
Referenced by weak_dominance::add_edge().

|
inline |
Add a selector to an existing edge.
| source | is the source of the edge |
| target | is the target of the edge |
Definition at line 323 of file graph.hpp.
References THROW_ASSERT.
|
virtual |
Add a vertex to this graph with a property.
| info | is the property to be associated with the new vertex |
Reimplemented in OpGraphsCollection.
Definition at line 57 of file graph.cpp.
References index, and test_panda::type.
Referenced by DesignFlowGraphsCollection::AddDesignFlowStep(), OpGraphsCollection::AddVertex(), structural_manager::build_graph(), and weak_dominance::calculate_weak_dominance_info().

|
inline |
|
inline |
Check if an edge exists.
| source | is the source vertex |
| target | is the target vertex |
Definition at line 435 of file graph.hpp.
Referenced by weak_dominance::add_edge().

|
inline |
Return the selectors associated with an edge.
| e | is the edge |
Definition at line 371 of file graph.hpp.
References RawGraph::AddVertex().
Referenced by graph::GetSelector().


|
inline |
Add an edge to this graph FIXME: this should be protected.
| souce | is the source of the edge to be added |
| target | is the target of the edge to be added |
| selector | is the selector to be set on the edge |
| info | is the info to be associated with the edge |
Definition at line 408 of file graph.hpp.
References RawGraph::RemoveVertex(), and THROW_ASSERT.
Referenced by weak_dominance::add_edge().


|
inline |
|
inline |
|
inline |
|
virtual |
Remove a vertex from this graph.
Header include.
| v | is the vertex to be removed |
Reimplemented in OpGraphsCollection.
Definition at line 44 of file graph.cpp.
References index, and test_panda::type.
Referenced by OpGraphsCollection::RemoveVertex().

| const ParameterConstRef graphs_collection::parameters |
Set of input parameters.
Definition at line 291 of file graph.hpp.
Referenced by OpGraph::CGetOutEdges(), CallGraph::WriteDot(), DesignFlowGraph::WriteDot(), CdfcGraph::WriteDot(), BBGraph::WriteDot(), StateTransitionGraph::WriteDot(), and OpGraph::WriteDot().
1.8.13