Boost logo

Boost :

From: Andrew Myers (andrew.myers_at_[hidden])
Date: 2000-12-04 23:25:58


I have downloaded boost_1_18_3 and am trying to build the
libs/graph/test/graph.cpp exe. I was actually using ggcl a few months ago and am
now converting over programs I had to BGL.


In boost/graph/graph_utility.hpp, the rand() function is commented out thus,

  inline std::size_t random_number(std::size_t N) {
#if 0
    std::size_t ret = rand() % N;
    std::size_t ret = 0;
    (void)N; // suppress unused argument warning.
    return ret;

Is there are reason for this? Currently random_vertex(Graph& g) does not work.


  Andrew Myers                       /-_|\                          I-SiTE 
  Software Engineer                 /     \               3D Laser Imaging
  Phone: (+61 8) 8338 9222          \_,-o_/          
  Fax  : (+61 8) 8338 9229               v           
  Email: Andrew.Myers_at_[hidden]

Boost list run by bdawes at, gregod at, cpdaniel at, john at