oliviercailloux / decision-uta-method

A repository containing the doc and the work done during my research about UTA method.
MIT License
0 stars 0 forks source link

Simplify Criterion #16

Closed oliviercailloux closed 6 years ago

oliviercailloux commented 6 years ago

Please rename the current Criterion to CriterionWithScale so that all code in the uta_calculator packages use CriterionWithScale. Create another class, io.github.oliviercailloux.decision.model.Criterion, immutable, with only a name and id (no scale). Your classes (in the decision packages) should use Criterion and not CriterionWithScale. Similarly, rename the Alternative to UTAAlternative, which uses CriterionWithScale, and create another one, EvaluatedAlternative, which uses Criterion and which the code in decision uses.

tonyseg commented 6 years ago

Done. io.github.oliviercailloux.decision.model.ProblemGenerator added, it use Criterion and EvaluatedAlternative instead of CriterionWithScale and UTAAlternative.