def average_ordering(strength_trace): return expectation(strength_trace, ordering)
def average_strength(strength_trace): return expectation(strength_trace, lambda x: x)