[Lemon-devel] Typedef for the base graph in the iterators.
Alpár Jüttner
alpar at cs.elte.hu
Thu Nov 16 15:12:04 CET 2006
Could you specify these problems? As far as I see, many graph adaptors
(e.g. UndirGraphAdaptor, SplitGraphAdaptor) use inheritance, not
typedef. Do they suffer from these drawbacks?
Btw, we have both UndirGraphAdaptor and UGraphAdaptor, and they do very
different things. It is quite confusing, isn't it?
Alpar
On Thu, 2006-11-16 at 12:04 +0100, DEZSO Balazs wrote:
> The graph adaptors usually use the adapted graph's node and edge types. This
> solution cannot work with your idea. If we modify the current implementation,
> i.e. we change the typedefs to inheritance, then it can cause some conversion
> problems. This way I do not advise to change the current implementation.
>
> Best, Balazs
>
> On Wed, 15 Nov 2006 17:21:37 +0100, Alpár Jüttner wrote
> > I would suggest that the graph items (Node, Edge etc) and the iterators
> >
> > (NodeIt, EdgeIt etc) will also have a typedef for the base graph class.
> > In this way we could spare a template parameter in several template
> > classes (e.g. in IterableBoolMap and in DefaultMap).
> >
> > Regards,
> > Alpar
> >
> > --
> > In order to prevent people from receiving viruses
> > that would seem to originate from my email,
> > if you use Microsoft Windows you do not have permission
> > to add this address to your address book.
> > If I am in your address book, please remove me.
> > Of course, this does not apply to GNU/Linux users.
> > Thank you.
> >
> > _______________________________________________
> > Lemon-devel mailing list
> > Lemon-devel at lemon.cs.elte.hu
> > http://lemon.cs.elte.hu/mailman/listinfo/lemon-devel
>
>
> --
> Open WebMail Project (http://openwebmail.org)
> Debian Project (http://www.debian.org)
>
> _______________________________________________
> Lemon-devel mailing list
> Lemon-devel at lemon.cs.elte.hu
> http://lemon.cs.elte.hu/mailman/listinfo/lemon-devel
--
In order to prevent people from receiving viruses
that would seem to originate from my email,
if you use Microsoft Windows you do not have permission
to add this address to your address book.
If I am in your address book, please remove me.
Of course, this does not apply to GNU/Linux users.
Thank you.
More information about the Lemon-devel
mailing list