General class used to describe a graph in PandA.
More...
#include <graph.hpp>
|
template<typename UVertexWriterTemplate , typename UEdgeWriterTemplate > |
void | InternalWriteDot (const std::string &file_name, const UVertexWriterConstRef uvertex_writer, const UEdgeWriterConstRef uedge_writer) const |
| Print the graph in dot format. More...
|
|
|
boost::graph_traits< ugraph >::vertex_descriptor | VERTEX (const boost::graph_traits< ugraph >::vertices_size_type, const ugraph &) |
| this function can access the bulk graph More...
|
|
General class used to describe a graph in PandA.
Definition at line 1159 of file graph.hpp.
◆ ugraph() [1/2]
Standard constructor.
- Parameters
-
g | is the bulk graph. |
_selector | is the selector used to filter the bulk graph. |
Definition at line 1193 of file graph.hpp.
◆ ugraph() [2/2]
Sub-graph constructor.
- Parameters
-
g | is the bulk graph. |
_selector | is the selector used to filter the bulk graph. |
vertices | is the set of vertexes on which the graph is filtered. |
Definition at line 1209 of file graph.hpp.
References VERTEX().
◆ ~ugraph()
◆ GetSelector() [1/2]
int ugraph::GetSelector |
( |
| ) |
const |
|
inline |
Return the selector of this graph.
- Returns
- the selector of the graph
Definition at line 1242 of file graph.hpp.
◆ GetSelector() [2/2]
int ugraph::GetSelector |
( |
const edge_descriptor |
e | ) |
const |
|
inline |
◆ InternalWriteDot()
template<typename UVertexWriterTemplate , typename UEdgeWriterTemplate >
void ugraph::InternalWriteDot |
( |
const std::string & |
file_name, |
|
|
const UVertexWriterConstRef |
uvertex_writer, |
|
|
const UEdgeWriterConstRef |
uedge_writer |
|
) |
| const |
|
inlineprotected |
Print the graph in dot format.
- Parameters
-
file_name | is the name of the file to be created |
node_writer | is the functor used to print the node labels |
edge_writer | is the functor used to print the edge labels |
Definition at line 1177 of file graph.hpp.
◆ is_in_subset()
bool ugraph::is_in_subset |
( |
const boost::graph_traits< ugraph >::vertex_descriptor |
v | ) |
const |
|
inline |
return true in case the vertex is a vertex of the subgraph.
Definition at line 1233 of file graph.hpp.
◆ VERTEX
boost::graph_traits<ugraph>::vertex_descriptor VERTEX |
( |
const boost::graph_traits< ugraph >::vertices_size_type |
i, |
|
|
const ugraph & |
g |
|
) |
| |
|
friend |
this function can access the bulk graph
- Parameters
-
i | is the index of the vertex. |
g | is the ugraph for which the vertex is asked. |
- Returns
- the vertex with the index i of the graph g.
Definition at line 1380 of file graph.hpp.
◆ collection
◆ selector
const int ugraph::selector |
|
protected |
The documentation for this struct was generated from the following file: