[ats]
-AUTOSTART = YES
+AUTOSTART = @AUTOSTART@
@UNIXONLY@ PORT = 2098
HOSTNAME = localhost
-HOME = $SERVICEHOME
BINARY = gnunet-service-ats
ACCEPT_FROM = 127.0.0.1;
ACCEPT_FROM6 = ::1;
-UNIXPATH = /tmp/gnunet-service-ats.sock
-UNIX_MATCH_UID = YES
+UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-ats.sock
+UNIX_MATCH_UID = NO
UNIX_MATCH_GID = YES
-
-# Designated assigment mode: simplistic / MLP
-MODE = simplistic
+# PREFIX = valgrind
+# Designated assignment mode: PROPORTIONAL / MLP / RIL
+MODE = proportional
# Network specific inbound/outbound quotas
UNSPECIFIED_QUOTA_IN = 64 KiB
# WLAN
WLAN_QUOTA_IN = 1 MiB
WLAN_QUOTA_OUT = 1 MiB
+# BLUETOOTH
+BLUETOOTH_QUOTA_IN = 128 KiB
+BLUETOOTH_QUOTA_OUT = 128 KiB
# ATS options
+# Proportional specific settings
+# How proportional to preferences is bandwidth distribution in a network
+# 1.0: Fair with respect to addresses without preferences
+# > 1.0: The bigger, the more respect is payed to preferences
+PROP_PROPORTIONALITY_FACTOR = 2.00
+# Should we stick to existing connections are prefer to switch?
+# [1.0...2.0], lower value prefers to switch, bigger value is more tolerant
+PROP_STABILITY_FACTOR = 1.25
# MLP specific settings
-# MAX_DURATION = 3 s
-# MAX_ITERATIONS = 1024
+# MLP defaults
+
+# Maximum duration for a solution process (both LP and MILP)
+# MLP_MAX_DURATION = 3 s
+# Maximum numbero of iterations for a solution process (only LP)
+# MLP_MAX_ITERATIONS =
+# Tolerated MIP Gap [0.0 .. 1.0], default 0.025
+MLP_MAX_MIP_GAP = 0.025
+# Tolerated LP/MIP Gap [0.0 .. 1.0], default 0.025
+MLP_MAX_LP_MIP_GAP = 0.025
+
+
+# Maximum number of iterations for a solution process
+# MLP_MAX_ITERATIONS = 1024
+# MLP_COEFFICIENT_D = 1.0
+# MLP_COEFFICIENT_U = 1.0
+# MLP_COEFFICIENT_R = 1.0
+# MLP_MIN_BANDWIDTH = 1024
+# MLP_MIN_CONNECTIONS = 4
+
+# MLP Log settings
+# Dump all problems to disk
+# MLP_DUMP_PROBLEM_ALL = YES
+# Dump all solution to disk
+# MLP_DUMP_SOLUTION_ALL = YES
+# Print GLPK output
+# MLP_GLPK_VERBOSE = YES
+# Dump all problems to disk
+MLP_DUMP_PROBLEM_ON_FAIL = YES
+# Dump all solution to disk
+MLP_DUMP_SOLUTION_ON_FAIL = YES
+# RIL specifc settings
+RIL_STEP_TIME_MIN = 500 ms
+RIL_STEP_TIME_MAX = 1000 ms
-DUMP_MLP = NO
-DUMP_SOLUTION = NO
-DUMP_OVERWRITE = NO
-DUMP_MIN_PEERS = 0
-DUMP_MIN_ADDRS = 0
-DUMP_OVERWRITE = NO
-ATS_MIN_INTERVAL = 15000
-ATS_EXEC_INTERVAL = 30000
+# SARSA or Q-LEARNING
+RIL_ALGORITHM = Q-LEARNING
+RIL_DISCOUNT_BETA = 0.7
+RIL_GRADIENT_STEP_SIZE = 0.3
+RIL_TRACE_DECAY = 0.2
+RIL_EXPLORE_RATIO = 0.1
+RIL_GLOBAL_REWARD_SHARE = 1