Commit Graph

17 Commits

Author SHA1 Message Date
c2b9d350aa Add copyOf method to Net class for creating deep copies of nets 2025-02-14 16:01:40 +01:00
1cab669fd9 Remove redundant exception for connecting to source nodes in addConnection method 2025-02-14 15:47:19 +01:00
e97703e23a Refactor toString method in Net class for improved output formatting and update unit tests accordingly 2025-02-12 21:25:20 +01:00
f0d9c59350 Implement toString method for Net class and add unit tests for its functionality 2025-02-12 17:57:30 +01:00
65e8f378f5 Refactor connection weight calculation to use ArrayList for fixing bug 2025-02-12 17:57:21 +01:00
d7d74e231e Refactor Net and ServerNodeState classes to improve child node handling and simplify simulation initialization 2025-02-09 22:14:23 +01:00
0a5b4ae954 Refactor Net class to streamline connection handling and replace NetChild with Connection class for improved clarity and efficiency 2025-02-09 22:10:10 +01:00
5aedd25c5f Refactor Net class by removing unused methods and updating child node retrieval logic in tests 2025-02-07 17:32:54 +01:00
32072ff764 Add maxQueue to ServerNode, refactor Event to use node index, and implement buildNodeStates method in Net 2025-02-06 14:28:49 +01:00
363b5ffee6 Refactors
- getNode method to handle invalid node index and improve error handling
- update parameter description in SimulationMultiple constructor
- enhance calcError method in StatisticsSummary for better clarity and functionality.
2025-02-05 16:49:24 +01:00
2d5f43bbc9 Readme
- Refactor simulation handling and improve net iteration methods
2025-02-03 18:55:31 +01:00
bd61042573 Refactor CSV and Net loading to use InputStream for better flexibility 2025-02-03 12:57:17 +01:00
b7b95fad7b Added Save and Load Net
- added kryo
- added save/load Net
- added examples in resources
- Main require a file.net
2025-01-29 16:53:40 +01:00
2a4b494843 Test Net
- added net test
- added more docs
2025-01-29 10:54:42 +01:00
75b12788c8 Refactor
- removed unused code
- changed net inputs for better usability
2025-01-27 20:32:27 +01:00
4601e76438 Docs
- added some Todo docs
2025-01-23 20:38:21 +01:00
69b8e5710b Refatoring
- separated net topology from the simulation nodes
- moved files in a better hierarchy
2025-01-22 17:04:53 +01:00