[Lemon-user] number of STATE_TREE vars at end of network simplex

Kovács Péter kpeter at inf.elte.hu
Thu Mar 4 08:57:52 CET 2010


Hi,

Answering Alpar's question:

> Btw, I had a short look at lemon/network_simplex.h and I was surprised
> to see that _state is declared as BoolVector, but it can get three
> different values (STATE_TREE, STATE_LOWER, STATE_UPPER). Luckily,
> BoolVector is currently defined an std::vector<char>, but to me it looks
> quite dirty.

It is a faulty side effect of the general renamings in a recent 
changeset (BoolVector was called CharVector). It only affects the 
current development version and it can be fixed easily.

See ticket #353 for details:
http://lemon.cs.elte.hu/trac/lemon/ticket/353

Regards,
Peter



More information about the Lemon-user mailing list