diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-06-17 14:38:30 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-06-17 14:38:30 +0000 |
commit | 0e953920315d2f85b597e0ddd58d4ad3ba68c198 (patch) | |
tree | 8dda2c8c133dde614440d801c23722867397a1b2 /src/ats/gnunet-service-ats_normalization.h | |
parent | 1320b67d1d14c614ec575735e9862560f1649388 (diff) | |
download | gnunet-0e953920315d2f85b597e0ddd58d4ad3ba68c198.tar.gz gnunet-0e953920315d2f85b597e0ddd58d4ad3ba68c198.zip |
proportional solver uses normalizationy
Diffstat (limited to 'src/ats/gnunet-service-ats_normalization.h')
-rw-r--r-- | src/ats/gnunet-service-ats_normalization.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ats/gnunet-service-ats_normalization.h b/src/ats/gnunet-service-ats_normalization.h index 8ad35e535..6e6e4e00b 100644 --- a/src/ats/gnunet-service-ats_normalization.h +++ b/src/ats/gnunet-service-ats_normalization.h | |||
@@ -34,6 +34,15 @@ | |||
34 | #define DEFAULT_ABS_PREFERENCE 0.0 | 34 | #define DEFAULT_ABS_PREFERENCE 0.0 |
35 | 35 | ||
36 | /** | 36 | /** |
37 | * Get the normalized preference values for a specific peer | ||
38 | * | ||
39 | * @param id the peer | ||
40 | * @return pointer to the values, can be indexed with GNUNET_ATS_PreferenceKind, NULL if peer does not exist | ||
41 | */ | ||
42 | const double * | ||
43 | GAS_normalization_get_preferences (struct GNUNET_PeerIdentity *id); | ||
44 | |||
45 | /** | ||
37 | * Changes the preferences for a peer in the problem | 46 | * Changes the preferences for a peer in the problem |
38 | * | 47 | * |
39 | * @param solver the solver handle | 48 | * @param solver the solver handle |