AIMA.Core.Search.Informed.RecursiveBestFirstSearch.setMaxRecursiveDepth C# (CSharp) Méthode

setMaxRecursiveDepth() public méthode

public setMaxRecursiveDepth ( int recursiveDepth ) : void
recursiveDepth int
Résultat void
	public void setMaxRecursiveDepth(int recursiveDepth) {
		int maxRdepth = metrics.getInt(MAX_RECURSIVE_DEPTH);
		if (recursiveDepth > maxRdepth) {
			metrics.set(MAX_RECURSIVE_DEPTH, recursiveDepth);
		}
	}