-
Notifications
You must be signed in to change notification settings - Fork 0
Home
David Qu edited this page Oct 3, 2015
·
8 revisions
Welcome to the black-widow wiki!
- Documentation: https://read-the-docs.readthedocs.org/en/latest/getting_started.html - Parse config file and initialize - Simulate network and record data - Graph data - [ ] Write parser that configures host, link, and router objects. - [ ] Configure all-pairs shortest-paths array / map. ``` # Example config file # Config file notes: # Keywords -- Hosts: Routers: Links: :Links Flows: :FlowsHosts: H1 H2
Routers:
Links:
L1: H1_H2 LR=10 LD=10 LB=64
:Links
Flows: F1: H1_H2 DA=20 FS=1.0 :Flows
<h2>Host</h2>
```C++
class Host {
private:
int host_id; // Is this the network address?
int address;
Link connection;
public:
void connect(Link new_link);
int get_address();
}