gintool / gin

GI in No Time - a Simple Microframework for Genetic Improvement
MIT License
43 stars 20 forks source link

Reordering of logical expressions #28

Closed sandybrownlee closed 6 years ago

sandybrownlee commented 6 years ago

Addresses #23 - look for the children of && and || nodes, and swap them. This could be improved upon as it will not work well for expressions with 3 or more parts!

Also renamed LogicalOperatorReplacement to BinaryOperatorReplacement as a bit of tidying up.

drdrwhite commented 6 years ago

Closes #23