aboutsummaryrefslogtreecommitdiff
path: root/src/ats/gnunet-service-ats_addresses_mlp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ats/gnunet-service-ats_addresses_mlp.h')
-rw-r--r--src/ats/gnunet-service-ats_addresses_mlp.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ats/gnunet-service-ats_addresses_mlp.h b/src/ats/gnunet-service-ats_addresses_mlp.h
index c4a1718cd..d80736124 100644
--- a/src/ats/gnunet-service-ats_addresses_mlp.h
+++ b/src/ats/gnunet-service-ats_addresses_mlp.h
@@ -53,6 +53,17 @@
53#define GLP_YES 1.0 53#define GLP_YES 1.0
54#define GLP_NO 0.0 54#define GLP_NO 0.0
55 55
56
57struct MLP_Solution
58{
59 struct GNUNET_TIME_Relative build_dur;
60 struct GNUNET_TIME_Relative lp_dur;
61 struct GNUNET_TIME_Relative mip_dur;
62
63 int lp_res;
64 int mip_res;
65};
66
56struct ATS_Peer 67struct ATS_Peer
57{ 68{
58 struct GNUNET_PeerIdentity id; 69 struct GNUNET_PeerIdentity id;
@@ -214,6 +225,8 @@ struct GAS_MLP_Handle
214 225
215 struct MLP_Variables pv; 226 struct MLP_Variables pv;
216 227
228 struct MLP_Solution ps;
229
217 /** 230 /**
218 * GLPK LP control parameter 231 * GLPK LP control parameter
219 */ 232 */