mc2lib
|
#include <sets.hpp>
Public Member Functions | |
R_impl (const Relation *src, Set< Ts > *visited, FlagSet *visiting, bool is_tran_cl, SearchMode mode) | |
bool | DfsRec (const Element &e1, const Element &e2) const |
bool | DfsRecFindCycle (const Element &start) const |
Private Attributes | |
const Relation * | src_ |
Set< Ts > * | visited_ |
FlagSet * | visiting_ |
bool | is_tran_cl_ |
SearchMode | mode_ |
Helper class to check if two elements are related.
|
inline |
|
inline |
Recursive DFS implementation, searching if there exists a path from e1 to e2.
|
inline |
DFS optimized to just find a cycle; elides some branches that are not needed compared to DfsRec.
|
private |
|
private |
|
private |
|
private |
|
private |