ExhaustiveSearch

Score every action. Requires a finite ActionSet.size.

Functions

Link copied to clipboard
open override fun best(actions: ActionSet, score: (DoubleArray) -> Double): DoubleArray?

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