gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r31863 - gnunet/src/ats


From: gnunet
Subject: [GNUnet-SVN] r31863 - gnunet/src/ats
Date: Thu, 9 Jan 2014 17:46:34 +0100

Author: oehlmann
Date: 2014-01-09 17:46:34 +0100 (Thu, 09 Jan 2014)
New Revision: 31863

Modified:
   gnunet/src/ats/plugin_ats_ril.c
Log:
config parameter rename

Modified: gnunet/src/ats/plugin_ats_ril.c
===================================================================
--- gnunet/src/ats/plugin_ats_ril.c     2014-01-09 14:40:47 UTC (rev 31862)
+++ gnunet/src/ats/plugin_ats_ril.c     2014-01-09 16:46:34 UTC (rev 31863)
@@ -43,7 +43,7 @@
 #define RIL_DEFAULT_GRADIENT_STEP_SIZE  0.1
 #define RIL_DEFAULT_TRACE_DECAY         0.5
 #define RIL_DEFAULT_EXPLORE_RATIO       0.1
-#define RIL_DEFAULT_DIVISOR             10
+#define RIL_DEFAULT_RBF_DIVISOR             10
 #define RIL_DEFAULT_GLOBAL_REWARD_SHARE 0.5
 #define RIL_DEFAULT_TEMPERATURE         1.0
 
@@ -1871,9 +1871,9 @@
   GNUNET_assert(NULL != env->get_preferences);
   GNUNET_assert(NULL != env->get_property);
 
-  if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_number(env->cfg, "ats", 
"RIL_DIVISOR", &solver->parameters.divisor))
+  if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_number(env->cfg, "ats", 
"RIL_RBF_DIVISOR", &solver->parameters.divisor))
   {
-    solver->parameters.divisor = RIL_DEFAULT_DIVISOR;
+    solver->parameters.divisor = RIL_DEFAULT_RBF_DIVISOR;
   }
   if (GNUNET_OK
       != GNUNET_CONFIGURATION_get_value_time (env->cfg, "ats", 
"RIL_STEP_TIME_MIN",




reply via email to

[Prev in Thread] Current Thread [Next in Thread]