#135: Rename (graph-related) util::node as util::vertex
------------------------+---------------------------------------------------
Reporter: garrigues | Owner: levill_r
Type: defect | Status: assigned
Priority: critical | Milestone: Olena 1.0
Component: Milena | Version: 1.0
Resolution: | Keywords:
------------------------+---------------------------------------------------
Changes (by levill_r):
* summary: Name clash between (graph-related) util::node and (tree-
related) util::node => Rename (graph-related)
util::node as util::vertex
Old description:
We have two `util::node` types : one for the graph
implementation and
also one for the tree.
see source:/trunk/milena/mln/util/tree.hh and
source:/trunk/milena/mln/util/internal/graph_base.hh
New description:
* ~~We have two `mln::util::node` types : one for the graph implementation
and also one for the tree. See source:/trunk/milena/mln/util/tree.hh and
source:/trunk/milena/mln/util/internal/graph_base.hh. Remove this name
clash.~~ (Fixed; Matthieu Garrigues renamed the tree-related
`mln::util::node` in r1749.)
* Anyway, the graph-related `mln::util::node` should be renamed as
`mln::util::vertex`.
* Even better: `mln::util::vertex` and `mln::util::edge` should be given
two distinct, incompatible types, like Vaucanson's graph item handlers
(ask Roland for more details).
Comment:
* Mention Matthieu solved the name clash in r1749.
* Add the renaming of `util::node` to `util::vertex` as a to-do.
--
Ticket URL: <https://trac.lrde.org/olena/ticket/135#comment:2>
Olena <http://olena.lrde.epita.fr>
Olena, a generic and efficient C++ image processing library.