#include <GraphUtilities.hpp>
◆ GraphUtilities()
| Gedim::GraphUtilities::GraphUtilities |
( |
| ) |
|
|
inline |
◆ ~GraphUtilities()
| Gedim::GraphUtilities::~GraphUtilities |
( |
| ) |
|
|
inline |
◆ BreadthFirstSearch()
A function to BFS starting from v.
◆ ComputeAdjacencyTranspose()
| std::vector< std::vector< unsigned int > > Gedim::GraphUtilities::ComputeAdjacencyTranspose |
( |
const std::vector< std::vector< unsigned int > > & |
graphAdjacency | ) |
const |
- Returns
- the reverse (or transpose) of a graph
◆ ComputeStronglyConnectedComponents()
| std::vector< std::vector< unsigned int > > Gedim::GraphUtilities::ComputeStronglyConnectedComponents |
( |
const std::vector< std::vector< unsigned int > > & |
graphAdjacency | ) |
const |
Compute the Strongly Connected Components of a direct graph.
- Parameters
-
| numVertices | the numGraphVertices |
| adjacency | the graph adiacency matrix, size 2 x numGraphEdges |
- Returns
- the Strongly Connected Components
◆ DepthFirstSearch()
A recursive function to DFS starting from v.
◆ ExtractSubGraph()
- Parameters
-
| graphAdjacency | the original graph adiajency |
| verticesFilter | the vertices of the sub-graph, (original_vertex_position, filtered_vertex_position) |
- Returns
- the resulting filtered graph
◆ GraphAdjacencyToGraphConnectivity()
| Eigen::MatrixXi Gedim::GraphUtilities::GraphAdjacencyToGraphConnectivity |
( |
const unsigned int & |
graphNumEdges, |
|
|
const std::vector< std::vector< unsigned int > > & |
graphAdjacency |
|
) |
| const |
◆ GraphConnectivityToGraphAdjacency()
The documentation for this class was generated from the following files: