singa-bio / singa

:leaves: SiNGA (Simulation of Natural Systems using Graph Automata) is an open-source library containing tools especially for structural bioinformatics and systems biology.
MIT License
8 stars 2 forks source link

provide relaxation algorithm for optimal distribution of nodes #8

Closed cleberecht closed 6 years ago

cleberecht commented 8 years ago

Lloyds algorithm (see description here and example here) can be used to distribute nodes evenly in a given space. This is useful for the setup of graphs for a simulation.

cleberecht commented 6 years ago

implemented in f52f7ce