Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public boolean isCorrect(MufChiValues weightValues) {
- const dogginess = this.fluffinessValue * weightValues.flufffinessValue
- + this.roundnessValue * weightValues.roundnessValue
- + this.colorValue * weightValues.colorValue
- if (dogginess >= .6) {
- return true;
- }
- else {
- return false;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement