Aleph-w  1.9
General library for algorithms and data structures
Aleph::Test_Single_Graph< GT, SN, SA > Class Template Reference

#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)
 

Detailed Description

template<class GT, class SN = Dft_Show_Node<GT>, class SA = Dft_Show_Arc<GT>>
class Aleph::Test_Single_Graph< GT, SN, 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:

  1. GT: el grafo
  2. SN: clase filtro para el iterador de nodos.
  3. SA: clase filtro para el iterador de arcos.
Author
Leandro R. León

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

Leandro Rabindranath León