[Lemon-user] declaration error

Kiran Yedavalli kyedavalli at gmail.com
Thu Mar 17 03:16:49 CET 2011


Hi All,

I am trying out lemon for the first time. I have the following declared:

in another namespace

class xyz{
public:
typedef lemon::ListDigraph NetworkGraph;

private:
NetworkGraph network_graph;
lemon::ListDigraph::ArcMap<int> weight_map(network_graph);

I am getting the following error when I compile this file along with others:

error: 'network_graph' is not a type

I believe this is a correct usage of ArcMap. I looked at demo files and the
usage matches with what I have written. I am not able to explain this error.

Any help will be really useful to me.

Thanks
Kiran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lemon.cs.elte.hu/pipermail/lemon-user/attachments/20110316/f2487578/attachment.html>


More information about the Lemon-user mailing list