lemon/hypercube_graph.h
changeset 2251 37fa5f83251e
parent 2229 4dbb6dd2dd4b
child 2260 4274224f8a7d
equal deleted inserted replaced
15:bb92195e08dd 16:174ac47c1b2c
   258     ///\code
   258     ///\code
   259     /// const int DIM = 3;
   259     /// const int DIM = 3;
   260     /// HyperCubeGraph graph(DIM);
   260     /// HyperCubeGraph graph(DIM);
   261     /// dim2::Point<double> base[DIM];
   261     /// dim2::Point<double> base[DIM];
   262     /// for (int k = 0; k < DIM; ++k) {
   262     /// for (int k = 0; k < DIM; ++k) {
   263     ///   base[k].x = random.getReal();
   263     ///   base[k].x = rnd();
   264     ///   base[k].y = random.getReal();
   264     ///   base[k].y = rnd();
   265     /// } 
   265     /// } 
   266     /// HyperCubeGraph::HyperMap<dim2::Point<double> > 
   266     /// HyperCubeGraph::HyperMap<dim2::Point<double> > 
   267     ///   pos(graph, base, base + DIM, dim2::Point<double>(0.0, 0.0));
   267     ///   pos(graph, base, base + DIM, dim2::Point<double>(0.0, 0.0));
   268     ///\endcode
   268     ///\endcode
   269     ///
   269     ///