src/work/jacint/graph_gen.h
changeset 1233 f3d856bf1ebf
parent 605 b3c57602c516
equal deleted inserted replaced
4:56be621ffa05 5:72be576d07b1
     8 ///
     8 ///
     9 ///This file contains several graph generator functions.
     9 ///This file contains several graph generator functions.
    10 ///
    10 ///
    11 // ///\author Marton Makai
    11 // ///\author Marton Makai
    12 
    12 
    13 namespace hugo {
    13 namespace lemon {
    14 
    14 
    15 
    15 
    16   /**
    16   /**
    17    * Inicializalja a veletlenszamgeneratort.
    17    * Inicializalja a veletlenszamgeneratort.
    18    * Figyelem, ez nem jo igazi random szamokhoz,
    18    * Figyelem, ez nem jo igazi random szamokhoz,
   115     for (int i=0; i<a; ++i) 
   115     for (int i=0; i<a; ++i) 
   116       for (int j=0; j<b; ++j)       
   116       for (int j=0; j<b; ++j)       
   117 	g.addEdge(s_nodes[i], t_nodes[j]);
   117 	g.addEdge(s_nodes[i], t_nodes[j]);
   118   }
   118   }
   119   
   119   
   120 } //namespace hugo
   120 } //namespace lemon