SH-Tang / BalancedFieldLength

A C# implementation to calculate the balanced field length of an aircraft.
GNU General Public License v3.0
1 stars 0 forks source link

Refactor KernelValidationResults #1

Closed SH-Tang closed 4 years ago

SH-Tang commented 4 years ago

Currently, the KernelValidationResult returned by the AggregatedDistanceCalculatorKernel.Validate maintains an (internal) list of enums and determines whether any validation errors have occurred.

A more reasonable and intuitive solution is to get rid of the validation results object and return a bitmask of enums.

SH-Tang commented 4 years ago

Feature merged back to master per rev c1a599e4f2b17a71c4bf3bb9d9319e9e936ab870