diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2014-02-11 11:50:56 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2014-02-11 11:50:56 +0000 |
commit | 7daab7b7f8478178fe230a816ac590e4f46fc83a (patch) | |
tree | 0f0b9e2b6b84af12612e350d5b6c561fbb8784c6 /src/ats/gnunet-ats-solver-eval.h | |
parent | 57562efaac37da015040ba5ade24afb549c67023 (diff) | |
download | gnunet-7daab7b7f8478178fe230a816ac590e4f46fc83a.tar.gz gnunet-7daab7b7f8478178fe230a816ac590e4f46fc83a.zip |
property enforcement
Diffstat (limited to 'src/ats/gnunet-ats-solver-eval.h')
-rw-r--r-- | src/ats/gnunet-ats-solver-eval.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/ats/gnunet-ats-solver-eval.h b/src/ats/gnunet-ats-solver-eval.h index 4fa69e59d..57cca782d 100644 --- a/src/ats/gnunet-ats-solver-eval.h +++ b/src/ats/gnunet-ats-solver-eval.h | |||
@@ -90,9 +90,21 @@ struct TestPeer | |||
90 | 90 | ||
91 | int id; | 91 | int id; |
92 | struct GNUNET_PeerIdentity peer_id; | 92 | struct GNUNET_PeerIdentity peer_id; |
93 | |||
94 | struct TestAddress *addr_head; | ||
95 | struct TestAddress *addr_tail; | ||
93 | }; | 96 | }; |
94 | 97 | ||
95 | 98 | ||
99 | struct TestAddress | ||
100 | { | ||
101 | struct TestAddress *next; | ||
102 | struct TestAddress *prev; | ||
103 | |||
104 | int aid; | ||
105 | struct ATS_Address *ats_addr; | ||
106 | }; | ||
107 | |||
96 | struct Episode; | 108 | struct Episode; |
97 | 109 | ||
98 | struct Experiment; | 110 | struct Experiment; |
@@ -202,7 +214,8 @@ struct PropertyGenerator | |||
202 | unsigned int peer; | 214 | unsigned int peer; |
203 | unsigned int address_id; | 215 | unsigned int address_id; |
204 | 216 | ||
205 | struct ATS_Address *address; | 217 | struct TestPeer *test_peer; |
218 | struct TestAddress *test_address; | ||
206 | uint32_t ats_property; | 219 | uint32_t ats_property; |
207 | 220 | ||
208 | long int base_value; | 221 | long int base_value; |