ai :: SearchProblem :: run_configs
This method can be used to evaluate which configuration to choose by default for a given problem.
steps
is the maximum number of steps a giver configuration can run.
# Run and evaluate solvers with multiple configuration.
# This method can be used to evaluate which configuration to choose by default for a given problem.
#
# `steps` is the maximum number of steps a giver configuration can run.
fun run_configs(steps: Int)
do
var c = 0
loop
if astar.run_config(steps, c, "A*") then break
c += 1
end
end
lib/ai/search.nit:156,2--167,4