Updated the config to use last_n_average_threshold

This commit is contained in:
Anton Beloglazov 2012-10-30 10:02:30 +11:00
parent 5a924db694
commit 9390442cf5

View File

@ -101,11 +101,13 @@ sleep_command = pm-suspend
# The fully qualified name of a Python factory function that returns a
# function implementing an underload detection algorithm
algorithm_underload_detection_factory = neat.locals.underload.trivial.threshold_factory
#algorithm_underload_detection_factory = neat.locals.underload.trivial.threshold_factory
algorithm_underload_detection_factory = neat.locals.underload.trivial.last_n_average_threshold_factory
# A JSON encoded parameters, which will be parsed and passed to the
# specified underload detection algorithm factory
algorithm_underload_detection_parameters = {"threshold": 0.3}
#algorithm_underload_detection_parameters = {"threshold": 0.3}
algorithm_underload_detection_parameters = {"threshold": 0.3, "n": 2}
# The fully qualified name of a Python factory function that returns a
# function implementing an overload detection algorithm