stg-tud / bp2022_netlab

The repository provides software that creates configuration files for the BonnMotion, CORE, coreemu-lab and The ONE programmes from a single TOML file.
MIT License
0 stars 0 forks source link

Refactor networks #45

Closed ebinf closed 1 year ago

ebinf commented 1 year ago

Description of the PR

Moved Networks to their own data structure removing them from the NodeGroups. This allows NodeGroups to be linked to multiple networks, also shared with other NodeGroups.

Also renamed some more constants to camelCase convention and refactored for loops over data structures to use range keyword for better readability.

Review checklist

(based on the work of Karl E. Wiegers)

Structure

Documentation

Variables

Arithmetic Operations

Loops and Branches

Defensive Programming

ebinf commented 1 year ago

@SA8R1NA Thank you for your feedback! I've refactored parts of CORE output generator and left notes for your other annotations. Could you have another look, please?