* it as a value_number. If no configuration value is found it will assign
* GNUNET_ATS_DefaultBandwidth. The most important step is to load the
* configured solver using configuration "[ats]:MODE". Current solvers are
- * MODE_SIMPLISTIC, MODE_MLP. Interaction is done using a solver API
+ * MODE_PROPORTIONAL, MODE_MLP. Interaction is done using a solver API
*
* 1.4 Solver API
*
* @param handle the solver handle
* @param application the application sending this request
* @param peer the peer id
+ * @param scope the time interval for this feedback: [now - scope .. now]
* @param kind the preference kind for this feedback
* @param score the feedback score
*/
(*GAS_solver_address_feedback_preference) (void *solver,
void *application,
const struct GNUNET_PeerIdentity *peer,
+ const struct GNUNET_TIME_Relative scope,
enum GNUNET_ATS_PreferenceKind kind,
double score);
* Change the preference for a peer
*
* @param handle the address handle
- * @param client the client sending this request
+ * @param application the client sending this request
* @param peer the peer id
+ * @param scope the time interval this valid for: [now - scope .. now]
* @param kind the preference kind to change
* @param score_abs the new preference score
*/
void
GAS_addresses_preference_feedback (struct GAS_Addresses_Handle *handle,
- void *client,
+ void *application,
const struct GNUNET_PeerIdentity *peer,
+ const struct GNUNET_TIME_Relative scope,
enum GNUNET_ATS_PreferenceKind kind,
float score_abs);