forked from flyingleafe/dqnroute
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathlaunch_pq.yaml
More file actions
executable file
·52 lines (51 loc) · 1.58 KB
/
launch_pq.yaml
File metadata and controls
executable file
·52 lines (51 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
network:
- {u: 13, v: 2, latency: 1, bandwidth: 10240}
- {u: 11, v: 0, latency: 1, bandwidth: 10240}
- {u: 12, v: 1, latency: 1, bandwidth: 10240}
- {u: 2, v: 3, latency: 1, bandwidth: 10240}
- {u: 0, v: 3, latency: 1, bandwidth: 10240}
- {u: 0, v: 4, latency: 1, bandwidth: 10240}
- {u: 0, v: 6, latency: 1, bandwidth: 10240}
- {u: 1, v: 3, latency: 1, bandwidth: 10240}
- {u: 1, v: 4, latency: 1, bandwidth: 10240}
- {u: 1, v: 6, latency: 1, bandwidth: 10240}
- {u: 3, v: 14, latency: 1, bandwidth: 10240}
- {u: 3, v: 5, latency: 1, bandwidth: 10240}
- {u: 4, v: 5, latency: 1, bandwidth: 10240}
- {u: 4, v: 9, latency: 1, bandwidth: 10240}
- {u: 6, v: 7, latency: 1, bandwidth: 10240}
- {u: 7, v: 8, latency: 1, bandwidth: 10240}
- {u: 8, v: 9, latency: 1, bandwidth: 10240}
- {u: 9, v: 10, latency: 1, bandwidth: 10240}
- {u: 5, v: 14, latency: 1, bandwidth: 10240}
- {u: 5, v: 10, latency: 1, bandwidth: 10240}
- {u: 10, v: 14, latency: 1, bandwidth: 10240}
settings:
pkg_distr:
sequence:
- {pkg_number: 600, delta: 4, sources: [11, 12, 13], dests: [14], simult_sources: 3}
router_env:
pkg_process_delay: 1
router:
simple_q:
learning_rate: 0.5
pred_q:
learning_rate: 1.0
beta: 0.7
gamma: 0.9
dqn: &dqn
optimizer: 'rmsprop'
activation: 'relu'
layers: [64, 64]
additional_inputs:
- tag: 'amatrix'
batch_size: 1
mem_capacity: 1
dqn_oneout:
<<: *dqn
dqn_emb:
<<: *dqn
additional_inputs: []
embedding:
alg: 'lap'
dim: 4