Use memory only on visited (closed) state.

Less memory operations, but two big drawbacks:

  • duplicated nodes can fill the todo queue (and the memory)
  • duplicated nodes require more invocation of SearchProblem::heuristic

Note: if memorize is false, then this has no effect.

Default: false

Property definitions

ai $ SearchSolver :: memorize_late
	# Use memory only on visited (closed) state.
	# Less memory operations, but two big drawbacks:
	# * duplicated nodes can fill the `todo` queue (and the memory)
	# * duplicated nodes require more invocation of `SearchProblem::heuristic`
	#
	# Note: if `memorize` is false, then this has no effect.
	#
	# Default: `false`
	var memorize_late: Bool = false is writable
lib/ai/search.nit:261,2--269,44