SoftwareSystemDesign / simulated-evolution

Artificial Life Simulation of Bacteria Motion depending on DNA
https://java.woehlke.org/kurzweil/simulated-evolution/
Apache License 2.0
0 stars 6 forks source link

LatticePoint:Eliminate redundant functional methods and simplify busi… #5

Closed koust6u closed 1 year ago

koust6u commented 1 year ago

…ness logic

Object Method: absoluteValue, killnegative, plus

Description: Change the name of 'absolueValue' to 'makePositive'.

Remove 'Killnegative', as it duplicates the functionality of 'absolueValue'.

Change the name of the 'plus' method to 'addThenAbsolute' and simplify the business logic.

Here is the documentation in English: