CogMaximizerEvaluateEventArgs PropertiesCognex VisionPro

The CogMaximizerEvaluateEventArgs type exposes the following members.

Properties

  NameDescription
Public propertyContinueRunning
Your handler should set a value of true to continue the maximization, or false to terminate it. If you specify a value of false, the Execute function throws a CogMaximizerCancelledException.
Public propertyFitness
This value, which your event handler sets, is the output value that corresponds to the supplied Position value.
Public propertyPosition
The input value for the handler to evaluate. This value is guaranteed to be in the range of values specified in the call to Execute.
Top
See Also