|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Determina si un grafo o digrafo es 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) |
| retorna true si p no tiene multiarcos ni lazos | |
| bool | operator() (GT &g) |
Private Types | |
| typedef GT::Node | GT_Node |
Private Attributes | |
| SN & | sn |
| SA & | sa |
Determina si un grafo o digrafo es simple.
Un grafo simple es uno que notiene arcos repetidos.
La clase recibe tres parámetros tipo:
Definition at line 61 of file single_graph.H.
Definition at line 66 of file single_graph.H.
|
inline |
Definition at line 70 of file single_graph.H.
|
inline |
Definition at line 93 of file single_graph.H.
References Aleph::maps(), 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().
retorna true si p no tiene multiarcos ni lazos
Definition at line 77 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 64 of file single_graph.H.
Referenced by Aleph::Test_Single_Graph< GT, SN, SA >::test_node().
|
private |
Definition at line 63 of file single_graph.H.
Referenced by Aleph::Test_Single_Graph< GT, SN, SA >::operator()().