fslaborg / Graphoscope

A pragmatic approach to network science.
http://fslab.org/Graphoscope/
MIT License
14 stars 6 forks source link

Implement project structure #11

Closed HarryMcCarney closed 1 year ago

HarryMcCarney commented 1 year ago

Following the sprint 2 discussion and any further input from Timo please set up the project with the following principles:

Overloaded methods for basic operations so users don't need to open different modules for different data structures

Different namespaces and/or modules for directed and undirected graphs For now we can treat unweighted graphs as having a weight of 1 in every edge.

HarryMcCarney commented 1 year ago

Following experimentation with a variety of alternatives we will go with a type alias approach. Using mutable data types with functions, rather than members, is a nice balance of performance and functional style. Should also make working with fsx files cognitively easier as state will also always be explicitly passed in, rather than implicitly mutating an object in the FSI scope. Full details will be worked out in V0.1 delivered in sprint 3.