Hello everyone,
I have to build a new module for GRASS, but I have some doubts about what the things I have to do.
First of all, i’d need some data structure like graphs, union finds and dynamic trees. Are these structure included in GRASS?
For a beginner like me a guide that explains the building of a module (or a pattern) would be very very helpful. Could you suggest me something to ease my work?
Best regards,
Roberto
Scopri il Blog di Yahoo! Mail: trucchi, novità, consigli… e la tua opinione!
roberto caselli wrote:
I have to build a new module for GRASS, but I have some doubts about
what the things I have to do.
First of all, i'd need some data structure like graphs, union finds
and dynamic trees. Are these structure included in GRASS?
Generally, you need to provide your own data structures and associated
algorithms. There is a btree library, but that's about it.
However, as GRASS is licensed under the GPL (version 2 or later), you
can use code from other GPL or GPL-compatible (LGPL, MIT, new BSD
licences) software.
For a beginner like me a guide that explains the building of a module
(or a pattern) would be very very helpful. Could you suggest me
something to ease my work?
The usual approach is to find a similar module and use that as a
template.
--
Glynn Clements <glynn@gclements.plus.com>