|
Boost Users : |
Subject: Re: [Boost-users] Trouble w/ fruchterman-reingold
From: eric (eric.burns_at_[hidden])
Date: 2012-10-05 10:45:35
I created one like such:
property_map<Graph, Topology::point_type> positionMap;
minstd_rand gen;
Topology rect_top(gen, -25, -25, 25, 25);
random_graph_layout(patentGraph, positionMap, rect_top);
and I get the following errors:
1>c:\program files
(x86)\boost\boost_1_51\boost\graph\detail\adjacency_list.hpp(2540) : error
C2039: 'type' : is not a member of 'boost::property_value<PropertyList,Tag>'
1> with
1> [
1> PropertyList=wmain::Vertex,
1> Tag=boost::rectangle_topology<>::point_type
1> ]
1> c:\program files
(x86)\boost\boost_1_51\boost\graph\detail\adjacency_list.hpp(2594) : see
reference to class template instantiation
'boost::vec_adj_list_any_vertex_pa::bind_<Tag,Graph,Property>' being
compiled
1> with
1> [
1> Tag=boost::rectangle_topology<>::point_type,
1> Graph=Graph,
1> Property=wmain::Vertex
1> ]
I should have mentioned before that I am using vecS now:
typedef adjacency_list<vecS, vecS, undirectedS, Vertex, Edge> Graph;
-- View this message in context: http://boost.2283326.n4.nabble.com/Trouble-w-fruchterman-reingold-tp4636494p4636599.html Sent from the Boost - Users mailing list archive at Nabble.com.
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