[Lemon-user] Node/Edge maps with permanent default value
Kovács Péter
kpeter at inf.elte.hu
Fri Dec 28 23:23:19 CET 2007
Hi,
> I'm looking for a Node/Edge map having a proper default value
> (i.e. when a new item is added to the graph, the corresponding map
> value is set to the default one). Is there anything like this
> in lemon?
I think there isn't.
From "Maps I." tutorial page:
"If a new node is added a default value is mapped to it. You can define
the default value by passing a second argument to the map's constructor."
I think that is what Alpar searches for. However it is wrong in the
documentation, the default value is always made by the default
constructor of the corresponding type.
Peter
Alpár Jüttner írta:
> Hi,
>
> I'm looking for a Node/Edge map having a proper default value (i.e. when
> a new item is added to the graph, the corresponding map value is set to
> the default one).
>
> Regards,
> Alpar
>
> _______________________________________________
> Lemon-user mailing list
> Lemon-user at lemon.cs.elte.hu
> http://lemon.cs.elte.hu/mailman/listinfo/lemon-user
More information about the Lemon-user
mailing list