def ranking(R):
    l = sorted(list(enumerate(R)), cmp=lambda a, b: cmp(a[1], b[1]))
    l = sorted(list(enumerate(l)), cmp=lambda a, b: cmp(a[1], b[1]))
    return array([kv[0] for kv in l])
Constructs the key used by all other methods. By default it
dataset/ETHPy150Open pybrain/pybrain/pybrain/tools/functions.py/ranking--crossover with--dataset/ETHPy150Open django/django/django/core/cache/backends/base.py/BaseCache.make_key