The Digital Graph Transition System (DGTS) - a program which can simulate movement of load across a graph
- Enter the node indices and their starting loads into an
inputs.csvfile in the same directory as the executable - Enter the from,to connections into a
connections.csvfile in the same directory as the executable - Run the executable using
dgts --threshold <THRESHOLD> --tranfer <TRANSFER>, where THRESHOLD is the maximum load held by a node and TRANSFER is the load transfered
| index | load |
|---|---|
| 0 | 5 |
| 1 | 3 |
| 2 | 2 |
Add as many rows as there are nodes
| from | to |
|---|---|
| 0 | 1 |
| 1 | 2 |
| 2 | 0 |
| 1 | 0 |
Add as many connections, but make sure each connection has nodes which exist
dgts --threshold 5 --transfer 2
Explaination: Each node can hold 5 load and transfers 2 load total to th adjacent nodes.