#143: Reorganize milena/mln/core/
-----------------------+----------------------------------------------------
Reporter: levill_r | Owner: Olena Team
Type: proposal | Status: closed
Priority: minor | Milestone: Olena 1.0
Component: Milena | Version: 1.0
Resolution: fixed | Keywords:
-----------------------+----------------------------------------------------
Changes (by levill_r):
* status: new => closed
* resolution: => fixed
Old description:
(This ticket is just a proposal. We might close it
even if no change
occur in `milena/mln/core`.)
There are many things in source:branches/cleanup-2008/milena/mln/core/,
that could be reorganized and/or split in several
directories/subdirectories:
* basic/classic images and entites (`mln::image2d`, etc.)
* graph-based images and entities (`mln::graph_image`, etc.)
* non classic images and associated tools (`mln::rle_image`, etc.)
* morphers (`mln::cast_image`, etc.)
* internal/core mechanisms (`initialize.hh` etc.)
* general tools (`contract.hh`, `inplace.hh`, etc.)
* concepts (though they are located in their own directory,
`mln/core/concept/`)
* implementation/factoring classes (thought most of them are in
`mln/core/internal/`)
* other entities, that should be moved elsewhere (`mln::h_vec`, etc.)
* and so on.
To my (Roland) mind, we should:
1. Identify the different kind of files present in `core/`.
2. Assign one (maybe two) kinds to each file of this directory.
3. Determine a new file layout, and perform the moves.
New description:
(This ticket is just a proposal. We might close it even if no change
occur in `milena/mln/core`.)
There are many things in source:branches/trunk/milena/mln/core/, that
could be reorganized and/or split in several directories/subdirectories:
* basic/classic images and entites (`mln::image2d`, etc.)
* graph-based images and entities (`mln::graph_image`, etc.)
* non classic images and associated tools (`mln::rle_image`, etc.)
* morphers (`mln::cast_image`, etc.)
* internal/core mechanisms (`initialize.hh` etc.)
* general tools (`contract.hh`, `inplace.hh`, etc.)
* concepts (though they are located in their own directory,
`mln/core/concept/`)
* implementation/factoring classes (thought most of them are in
`mln/core/internal/`)
* other entities, that should be moved elsewhere (`mln::h_vec`, etc.)
* and so on.
To my (Roland) mind, we should:
1. Identify the different kind of files present in `core/`.
2. Assign one (maybe two) kinds to each file of this directory.
3. Determine a new file layout, and perform the moves.
--
Comment:
Most of [source:branches/trunk/milena/mln/core/ milena/mln/core/] has been
reorganized during the past months (from Summer 2008 to Spring 2009). The
decision was to group entities by nature (aliases, definitions, etc.) and
categories (1d, 2d, 3d realms, site sets, etc.).
--
Ticket URL: <https://trac.lrde.org/olena/ticket/143#comment:3>
Olena <http://olena.lrde.epita.fr>
Olena, a generic and efficient C++ image processing library.