Net creation #2

Merged
Berack96 merged 21 commits from net-creation into main 2025-03-16 18:02:38 +01:00

21 Commits

Author SHA1 Message Date
Giacomo Bertolazzi
9b51562469 Merge branch 'main' into net-creation 2025-03-16 18:02:04 +01:00
e11bb3f419 Update launch configurations to use absolute paths for example network and CSV files; remove unused Maven build plugins 2025-03-16 17:54:47 +01:00
2ed8149110 Rename runBuilder method to run in InteractiveConsole; update interactive console commands and tests for improved clarity and functionality 2025-03-16 17:38:16 +01:00
f4d3262cb7 Rename run method to runBuilder in InteractiveConsole and update references; refactor file handling in Plot and SimulationBuilder for improved clarity and consistency 2025-03-16 16:59:12 +01:00
60ef40c0ab Add example network files and update interactive console commands for improved usability 2025-03-16 16:32:11 +01:00
6cb87be89b Add example networks and update tests to utilize new NetExamples class 2025-03-16 16:00:51 +01:00
cd3ff3b699 Renamed NetBuilder to InteractiveConsole for interactive net building and update Main to use it 2025-03-16 12:44:27 +01:00
76adc91a43 Refactor input handling in NetBuilderInteractive to improve error management and streamline user prompts 2025-02-19 12:14:53 +01:00
744df75d41 Rename sourceLimited method to terminal and update related logic for improved clarity; adjust spawn behavior to use -1 for infinite arrivals 2025-02-19 11:49:31 +01:00
8fe2f9d781 Remove default values from input prompts in NetBuilderInteractive for improved user input handling 2025-02-19 11:49:06 +01:00
611e14e6fa Refactor SimulationBuilder and SimulationMultiple to accept PrintStream for output; update tests to use null output stream 2025-02-19 11:22:52 +01:00
121d4cd44a Refactor Event comparison logic for clarity and add getRandomChild method to ServerNodeState for improved child selection; update simulation tests for null checks and event processing 2025-02-19 11:06:07 +01:00
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
64e135810a Replace ArrayList with List.copyOf in getFutureEventList method for improved immutability 2025-02-14 15:46:29 +01:00
fbd1fab9fb Enhance NetBuilderInteractive to support interactive node creation and connection management, updating input/output handling and adding unit tests for functionality 2025-02-12 21:26:02 +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
3a769d6ae3 Implement toString method for ServerNode class and add unit tests for its output 2025-02-12 21:23:43 +01:00
6b3b5fea2f Add toString method for Distribution class and unit tests for various distributions 2025-02-12 21:22:26 +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