AIMA.Core.Search.Informed.SearchResult.SearchResult C# (CSharp) Method

SearchResult() public method

public SearchResult ( Node solution, Double fCostLimit ) : System
solution AIMA.Core.Search.Framework.Node
fCostLimit Double
return System
	public SearchResult(Node solution, Double fCostLimit) {
		if (null == solution) {
			this.outcome = SearchOutcome.FAILURE;
		} else {
			this.outcome = SearchOutcome.SOLUTION_FOUND;
			this.solution = solution;
		}
		this.fCostLimit = fCostLimit;
	}