User Tools

Site Tools


lazynut_scripting_language:reference:observer:mrom_yes_observer_impl

mrom_yes_observer_impl

An observer for layers that use strength_patterns. Output is based on the variable threshold rule of MROM. If the layer's current_time is before check_time, the threshold is threshold_high. Otherwise, calculate the summed activity at check_time and compare to check_threshold. If the summed activity is greater than check_threshold, the threshold is threshold_low, otherwise threshold_high. If any current element of the state pattern is greater than the threshold, return “yes”, else return “?”.

Parameter

Is a parameter_client:

parameter	default\_value
threshold_low	0
threshold_high	0
check_time	0
check_threshold	0
lazynut_scripting_language/reference/observer/mrom_yes_observer_impl.txt · Last modified: 2016/03/25 14:23 (external edit)