cycle_detector Struct Reference

The cycle_detector struct is used by the boost graph routines to detect cycles in the graph. More...

Public Member Functions

template<class Edge , class Graph >
void back_edge (Edge e, Graph &g)
 
 cycle_detector (bool &has_cycle, int &src)
 

Detailed Description

The cycle_detector struct is used by the boost graph routines to detect cycles in the graph.

Constructor & Destructor Documentation

◆ cycle_detector()

cycle_detector::cycle_detector ( bool has_cycle,
int src 
)

Member Function Documentation

◆ back_edge()

template<class Edge , class Graph >
void cycle_detector::back_edge ( Edge  e,
Graph &  g 
)

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