[Lemon-user] declaration error
Arun Reddy Kandoor
karunreddy30 at gmail.com
Thu Mar 17 03:19:49 CET 2011
how about doing this before the class declaration?
typedef lemon::ListDigraph NetworkGraph;
On Wed, Mar 16, 2011 at 7:16 PM, Kiran Yedavalli <kyedavalli at gmail.com>wrote:
> 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
>
>
>
>
>
> _______________________________________________
> Lemon-user mailing list
> Lemon-user at lemon.cs.elte.hu
> http://lemon.cs.elte.hu/mailman/listinfo/lemon-user
>
>
--
Arun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lemon.cs.elte.hu/pipermail/lemon-user/attachments/20110316/28673622/attachment.html>
More information about the Lemon-user
mailing list