aboutsummaryrefslogtreecommitdiff
path: root/src/ats
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-12-10 08:41:52 +0000
committerChristian Grothoff <christian@grothoff.org>2013-12-10 08:41:52 +0000
commitecde9b6b2202126151e34998991b6f35e6d7d149 (patch)
treed467a4ccc1b52d1f6e8a2c3f7d2fd688d63477b2 /src/ats
parentefc7f31d917eca457bf2e22ebd70d06e4e21421c (diff)
downloadgnunet-ecde9b6b2202126151e34998991b6f35e6d7d149.tar.gz
gnunet-ecde9b6b2202126151e34998991b6f35e6d7d149.zip
-doxygen fixes
Diffstat (limited to 'src/ats')
-rwxr-xr-xsrc/ats/plugin_ats_ril.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/ats/plugin_ats_ril.c b/src/ats/plugin_ats_ril.c
index ee7795638..88120d517 100755
--- a/src/ats/plugin_ats_ril.c
+++ b/src/ats/plugin_ats_ril.c
@@ -565,13 +565,14 @@ agent_update_weights (struct RIL_Peer_Agent *agent, double reward, double *s_nex
565 565
566/** 566/**
567 * Changes the eligibility trace vector e in various manners: 567 * Changes the eligibility trace vector e in various manners:
568 * RIL_E_ACCUMULATE - adds 1 to each component as in accumulating eligibility traces 568 * #RIL_E_ACCUMULATE - adds @a f to each component as in accumulating eligibility traces
569 * RIL_E_REPLACE - resets each component to 1 as in replacing traces 569 * #RIL_E_REPLACE - resets each component to @f as in replacing traces
570 * RIL_E_SET - multiplies e with discount factor and lambda as in the update rule 570 * #RIL_E_SET - multiplies e with discount factor and lambda as in the update rule
571 * RIL_E_ZERO - sets e to 0 as in Watkin's Q-learning algorithm when exploring and when initializing 571 * #RIL_E_ZERO - sets e to 0 as in Watkin's Q-learning algorithm when exploring and when initializing
572 * 572 *
573 * @param agent the agent handle 573 * @param agent the agent handle
574 * @param mod the kind of modification 574 * @param mod the kind of modification
575 * @param f how much to change
575 */ 576 */
576static void 577static void
577agent_modify_eligibility (struct RIL_Peer_Agent *agent, enum RIL_E_Modification mod, double *f) 578agent_modify_eligibility (struct RIL_Peer_Agent *agent, enum RIL_E_Modification mod, double *f)
@@ -599,6 +600,7 @@ agent_modify_eligibility (struct RIL_Peer_Agent *agent, enum RIL_E_Modification
599 } 600 }
600} 601}
601 602
603
602static void 604static void
603ril_inform (struct GAS_RIL_Handle *solver, 605ril_inform (struct GAS_RIL_Handle *solver,
604 enum GAS_Solver_Operation op, 606 enum GAS_Solver_Operation op,