Delegate EnvironmentValidator
Delegate to implement the ValidateSolution(IEnvironment, Double) method independently from any custom puzzle descriptor class.
Namespace: TreeProblemFramework.Description
Parameters
Type | Name | Description |
---|---|---|
IEnvironment | env | The specified IEnvironment whose correspondence to the solution to the puzzle is to be determined. |
System.Double | heuristicValue | The heuristic value directly calculated from the specified IEnvironment object, which provides an insight on how far or close such IEnvironment object is to an actual solution to the puzzle. Such value is the result returned by the ComputeHeuristic(IEnvironment) method. |
Returns
Type | Description |
---|---|
System.Boolean | True if the specified IEnvironment object corresponds to a solution to the puzzle; false if it does not. |