[Lemon-user] Reinitialize NodeIt

Kovács Péter kpeter at inf.elte.hu
Tue Oct 4 18:55:01 CEST 2011


Hi,

If n is a variable of type ListGraph::NodeIt, then you can simply write:
   n = ListGraph::NodeIt(graph);
to reinitialize n, or
   n = INVALID;
to assign INVALID value to it.

Regards,
Peter


On 2011.10.04. 18:35, Cherif Mouaouia Bouzid wrote:
> Hello
>
> I need to reinitialize a ListGraph::NodeIt once it has received INVALID
> value and I also need to give an INVALID value to another
> ListGraph::NodeIt (not at the construction).
>
> Could you please help me "quickly" ?
>
>
> --
> Mouaouia Cherif BOUZID
>



More information about the Lemon-user mailing list