PandA-2024.02
Public Member Functions
undirected_graphs_collection Struct Reference

bulk graph. More...

#include <graph.hpp>

Inheritance diagram for undirected_graphs_collection:
Inheritance graph
[legend]
Collaboration diagram for undirected_graphs_collection:
Collaboration graph
[legend]

Public Member Functions

 undirected_graphs_collection ()=default
 Constructor of graph. More...
 
 ~undirected_graphs_collection ()=default
 Destructor. More...
 
boost::graph_traits< undirected_boost_graphs_collection >::vertex_descriptor AddVertex ()
 Add a vertex to this graph. More...
 
void RemoveVertex (boost::graph_traits< undirected_boost_graphs_collection >::vertex_descriptor v)
 Remove a vertex from this graph. More...
 
int GetSelector (const edge_descriptor e) const
 Return the selectors associated with an edge. More...
 
void SetSelector (edge_descriptor e, const int selector)
 Set the selector associated with an edge. More...
 

Detailed Description

bulk graph.

All the edge of a graph are store in this object

Definition at line 467 of file graph.hpp.

Constructor & Destructor Documentation

◆ undirected_graphs_collection()

undirected_graphs_collection::undirected_graphs_collection ( )
default

Constructor of graph.

◆ ~undirected_graphs_collection()

undirected_graphs_collection::~undirected_graphs_collection ( )
default

Destructor.

Member Function Documentation

◆ AddVertex()

boost::graph_traits<undirected_boost_graphs_collection>::vertex_descriptor undirected_graphs_collection::AddVertex ( )
inline

Add a vertex to this graph.

Returns
the added vertex

Definition at line 479 of file graph.hpp.

References index.

◆ GetSelector()

int undirected_graphs_collection::GetSelector ( const edge_descriptor  e) const
inline

Return the selectors associated with an edge.

Parameters
eis the edge
Returns
the associated selector

Definition at line 509 of file graph.hpp.

Referenced by ugraph::GetSelector().

Here is the caller graph for this function:

◆ RemoveVertex()

void undirected_graphs_collection::RemoveVertex ( boost::graph_traits< undirected_boost_graphs_collection >::vertex_descriptor  v)
inline

Remove a vertex from this graph.

Parameters
vis the vertex to be removed

Definition at line 491 of file graph.hpp.

References index, and test_panda::type.

◆ SetSelector()

void undirected_graphs_collection::SetSelector ( edge_descriptor  e,
const int  selector 
)
inline

Set the selector associated with an edge.

Parameters
eis the edge param selector is the new selector

Definition at line 519 of file graph.hpp.


The documentation for this struct was generated from the following file:

Generated on Mon Feb 12 2024 13:04:09 for PandA-2024.02 by doxygen 1.8.13