Boost logo

Boost Users :

From: Welson Sun (welson_sun_at_[hidden])
Date: 2005-01-12 23:04:19


The link you provided is 404 error.

 

-----Original Message-----
From: boost-users-bounces_at_[hidden]
[mailto:boost-users-bounces_at_[hidden]] On Behalf Of Jamie Wilkinson
Sent: Wednesday, January 12, 2005 2:16 AM
To: Boost-users_at_[hidden]
Subject: [Boost-users] error in boost/graph/fruchterman_reingold.hpp

The doc at
http://boost-consulting.com/boost/libs/grpah/doc/fruchterman_reingold.html
suggests that there is a 4 argument version of the function, taking only the
graph, a position map, width and height; but attempts to compile such a
function against the headers from the latest CVS results in a compile error:

error: no matching function for call to `
   fruchterman_reingold_force_directed_layout(Umbrella::Document&,
   Umbrella::View::load_from_document()::PositionMap&, double&, double&)'

Removing the typenames Param, Tag, and Rest from lines 371-372 of the header
allows the compile to continue.

Index: boost/graph/fruchterman_reingold.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/graph/fruchterman_reingold.hpp,v
retrieving revision 1.5
diff -u -c -r1.5 fruchterman_reingold.hpp cvs diff: conflicting
specifications of output style
*** boost/graph/fruchterman_reingold.hpp 29 Dec 2004 16:53:05 -0000
1.5
--- boost/graph/fruchterman_reingold.hpp 12 Jan 2005 09:18:16 -0000
***************
*** 368,375 ****
       params);
  }

! template<typename Graph, typename PositionMap, typename Dim, typename
Param,
! typename Tag, typename Rest>
  void
  fruchterman_reingold_force_directed_layout(const Graph& g,
                                           PositionMap position,
--- 368,374 ----
       params);
  }

! template<typename Graph, typename PositionMap, typename Dim>
  void
  fruchterman_reingold_force_directed_layout(const Graph& g,
                                           PositionMap position,
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net