Changes between Version 2 and Version 3 of TrianglesAlgorithm


Ignore:
Timestamp:
04/26/10 00:28:24 (9 years ago)
Author:
jberry
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TrianglesAlgorithm

    v2 v3  
    9494}; 
    9595}}} 
     96 
     97Once this visitor has been written, the triangle algorithm object can be instantiated and run as follows: 
     98{{{ 
     99  triangle_printing_visitor<Graph> tpv(g); 
     100  find_triangles<Graph, triangle_printing_visitor<Graph> > ft(g,tpv); 
     101  ft.run(); 
     102}}} 
     103 
     104Many of the MTGL algorithms work in this way, but we don't go into further detail since the algorithm API's are not yet settled.