[Lemon-user] declaration error
Kiran Yedavalli
kyedavalli at gmail.com
Thu Mar 17 03:24:48 CET 2011
I tried that too. Same error.
I am including the following files:
<lemon/list_graph.h>
Do I need anymore files?
Thanks
Kiran
On Wed, Mar 16, 2011 at 7:19 PM, Arun Reddy Kandoor
<karunreddy30 at gmail.com>wrote:
> 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/4f507c5c/attachment.html>
More information about the Lemon-user
mailing list