Rank by Integer (Obj,Integer)

Description

Rank objects by the value of an integer property compared to a given value.

Input

  • SOURCE [OBJ,INTEGER]: the list of objects to rank and the values to be ranked by.

Output

  • CLOSE [OBJ]: ranked objects, closest to the given value on top

  • FAR [OBJ]: ranked objects, furthest from the given value on top

Parameters

  • Value: the value to compare each object’s value against

  • Hard filter: optional hard filters to apply before ranking

    • No filter

    • Not greater than Value

    • Not smaller than Value

  • Slope: positive value determining the slope of the ranking curve. The higher the slope, the closer together the resulting scores.