diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-02-07 12:52:52 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-02-07 12:52:52 +0000 |
commit | 3fa5361da7754b5080ae52963c99eb9dc848221f (patch) | |
tree | 3597b83da98cc03e294340d314fe3b7fafe4a39e /src/ats/gnunet-service-ats_plugins.h | |
parent | fd0e0fcaa261ceb79897263fd037328d61e46a98 (diff) | |
download | gnunet-3fa5361da7754b5080ae52963c99eb9dc848221f.tar.gz gnunet-3fa5361da7754b5080ae52963c99eb9dc848221f.zip |
simplify logic: just use string directly for the plugin name
Diffstat (limited to 'src/ats/gnunet-service-ats_plugins.h')
-rw-r--r-- | src/ats/gnunet-service-ats_plugins.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/ats/gnunet-service-ats_plugins.h b/src/ats/gnunet-service-ats_plugins.h index 46a1d29fb..e93ca23ee 100644 --- a/src/ats/gnunet-service-ats_plugins.h +++ b/src/ats/gnunet-service-ats_plugins.h | |||
@@ -31,37 +31,6 @@ | |||
31 | 31 | ||
32 | 32 | ||
33 | /** | 33 | /** |
34 | * Available ressource assignment modes | ||
35 | */ | ||
36 | enum ATS_Mode | ||
37 | { | ||
38 | /** | ||
39 | * proportional mode: | ||
40 | * | ||
41 | * Assign each peer an equal amount of bandwidth (bw) | ||
42 | * | ||
43 | * bw_per_peer = bw_total / #active addresses | ||
44 | */ | ||
45 | MODE_PROPORTIONAL, | ||
46 | |||
47 | /** | ||
48 | * MLP mode: | ||
49 | * | ||
50 | * Solve ressource assignment as an optimization problem | ||
51 | * Uses an mixed integer programming solver | ||
52 | */ | ||
53 | MODE_MLP, | ||
54 | |||
55 | /** | ||
56 | * Reinforcement Learning mode: | ||
57 | * | ||
58 | * Solve resource assignment using a learning agent | ||
59 | */ | ||
60 | MODE_RIL | ||
61 | }; | ||
62 | |||
63 | |||
64 | /** | ||
65 | * Initialize address subsystem. The addresses subsystem manages the addresses | 34 | * Initialize address subsystem. The addresses subsystem manages the addresses |
66 | * known and current performance information. It has a solver component | 35 | * known and current performance information. It has a solver component |
67 | * responsible for the resource allocation. It tells the solver about changes | 36 | * responsible for the resource allocation. It tells the solver about changes |