|
Aleph-w 3.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 | |
| SN & | sn |
| 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 63 of file single_graph.H.
|
private |
Definition at line 68 of file single_graph.H.
|
inline |
Definition at line 72 of file single_graph.H.
|
inline |
|
inline |
Returns true if p has neither multi-arcs nor self-loops.
Definition at line 79 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 66 of file single_graph.H.
Referenced by Aleph::Test_Single_Graph< GT, SN, SA >::test_node().
|
private |
Definition at line 65 of file single_graph.H.
Referenced by Aleph::Test_Single_Graph< GT, SN, SA >::operator()().