benducke / Network-reconstruction-tools-for-GRASS-GIS

Node-based network model generator for GRASS GIS 7.x (and QGIS 3.x)
GNU General Public License v3.0
4 stars 1 forks source link

Refactoring ideas #66

Open benducke opened 1 month ago

benducke commented 1 month ago

At this point. v.net.models is so complex that it has become unwieldy.

Here are some ideas for a future refactoring plan:

v.net.models -> remove in favour of more specialised modules (see below) v.net.build -> exclusively for building fully connected (base) models v.net.reduce -> take the output of v.net.build and produce a new, reduced model (replaces v.net.model's 'initial=' option) v.net.trim -> remove unconnected nodes v.net.sample -> draw a random sample of network components