GNUnet  0.11.x
Data Fields
PreferencePeer Struct Reference

Preference information per peer and client. More...

Collaboration diagram for PreferencePeer:
[legend]

Data Fields

struct PreferencePeernext
 Next in DLL of preference entries for the same client. More...
 
struct PreferencePeerprev
 Previous in DLL of preference entries for the same client. More...
 
double f_abs [GNUNET_ATS_PREFERENCE_END]
 Absolute preference values for all preference types as expressed by this client for this peer. More...
 
double f_rel [GNUNET_ATS_PREFERENCE_END]
 Relative preference values for all preference types, normalized in [0..1] based on how the respective client scored other peers. More...
 

Detailed Description

Preference information per peer and client.

Definition at line 87 of file gnunet-service-ats_preferences.c.

Field Documentation

◆ next

struct PreferencePeer* PreferencePeer::next

Next in DLL of preference entries for the same client.

Definition at line 92 of file gnunet-service-ats_preferences.c.

◆ prev

struct PreferencePeer* PreferencePeer::prev

Previous in DLL of preference entries for the same client.

Definition at line 97 of file gnunet-service-ats_preferences.c.

◆ f_abs

double PreferencePeer::f_abs[GNUNET_ATS_PREFERENCE_END]

Absolute preference values for all preference types as expressed by this client for this peer.

Definition at line 103 of file gnunet-service-ats_preferences.c.

Referenced by age_values(), update_abs_sum(), update_preference(), and update_rel_sum().

◆ f_rel

double PreferencePeer::f_rel[GNUNET_ATS_PREFERENCE_END]

Relative preference values for all preference types, normalized in [0..1] based on how the respective client scored other peers.

Definition at line 110 of file gnunet-service-ats_preferences.c.

Referenced by age_values(), sum_relative_preferences(), update_preference(), and update_rel_sum().


The documentation for this struct was generated from the following file: