indigoX
ConnectedSubgraphs< GraphType > Class Template Reference

Generate connected subgraphs in G. More...

#include <indigox/algorithm/graph/connectivity.hpp>

Public Member Functions

 ConnectedSubgraphs (GraphType &G, size_t min=0, size_t max=std::numeric_limits< size_t >::max())
 
 ~ConnectedSubgraphs ()
 
bool operator() (GraphType &subgraph)
 

Detailed Description

template<class GraphType>
class indigox::algorithm::ConnectedSubgraphs< GraphType >

Generate connected subgraphs in G.

Parameters
Gthe graph to generate connected subgraphs from.
[out]subGsa vector to store the generated subgraphs in.
minsizeminimum size of subgraph to generate.
maxsizemaximum size of subgraph to generate.
Returns
the number of generated subgraphs.

Constructor & Destructor Documentation

◆ ConnectedSubgraphs()

ConnectedSubgraphs ( GraphType &  G,
size_t  min = 0,
size_t  max = std::numeric_limits< size_t >::max() 
)

◆ ~ConnectedSubgraphs()

Member Function Documentation

◆ operator()()

bool operator() ( GraphType &  subgraph)

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