lemon/hypercube_graph.h
changeset 2238 8d623100ab13
parent 2223 590c1b663a27
child 2242 16523135943d
equal deleted inserted replaced
14:25027225688c 15:bb92195e08dd
   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 = rand() / (RAND_MAX + 1.0);
   263     ///   base[k].x = random.getReal();
   264     ///   base[k].y = rand() / (RAND_MAX + 1.0);
   264     ///   base[k].y = random.getReal();
   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     ///