ai :: SearchProblem :: initial_node
Used internally by the solvers but made public for those who want to replay a plan.
# Create the initial node in the search-tree.
# Used internally by the solvers but made public for those who want to replay a plan.
fun initial_node: SearchNode[S, A]
do
var res = new SearchNode[S,A](self, initial_state, null, null, 0.0, 0)
res.compute_heuristic
return res
end
lib/ai/search.nit:138,2--145,4