|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Determines whether a graph or digraph is simple. More...
#include <single_graph.H>
Public Member Functions | |
| Test_Single_Graph (SN &&__sn=SN(), SA &&__sa=SA()) | |
| bool | test_node (typename GT::Node *p) |
Returns true if p has neither multi-arcs nor self-loops. | |
| bool | operator() (GT &g) |
Private Types | |
| typedef GT::Node | GT_Node |
Private Attributes | |
| Kept_Filter< SN > | sn |
| Kept_Filter< SA > | sa |
Determines whether a graph or digraph is simple.
A simple graph is one that has no duplicate arcs.
The class takes three type parameters:
Definition at line 64 of file single_graph.H.
|
private |
Definition at line 69 of file single_graph.H.
|
inline |
Definition at line 73 of file single_graph.H.
|
inline |
Definition at line 94 of file single_graph.H.
References Aleph::Filter_Iterator< Container, It, Show_Item >::next_ne(), Aleph::Test_Single_Graph< GT, SN, SA >::sn, and Aleph::Test_Single_Graph< GT, SN, SA >::test_node().
|
inline |
Returns true if p has neither multi-arcs nor self-loops.
Definition at line 80 of file single_graph.H.
References Aleph::Dlink::insert(), Aleph::Filter_Iterator< Container, It, Show_Item >::next_ne(), nodes, and Aleph::Test_Single_Graph< GT, SN, SA >::sa.
Referenced by Aleph::Test_Single_Graph< GT, SN, SA >::operator()().
|
private |
Definition at line 67 of file single_graph.H.
Referenced by Aleph::Test_Single_Graph< GT, SN, SA >::test_node().
|
private |
Definition at line 66 of file single_graph.H.
Referenced by Aleph::Test_Single_Graph< GT, SN, SA >::operator()().