best

abstract fun best(actions: ActionSet, score: (DoubleArray) -> Double): DoubleArray?(source)

The action minimising score, or null when the set is empty. score is called at most once per candidate and must be pure.