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.
Done. io.github.oliviercailloux.decision.model.ProblemGenerator added, it use Criterion and EvaluatedAlternative instead of CriterionWithScale and UTAAlternative.
Please rename the current
Criterion
toCriterionWithScale
so that all code in theuta_calculator
packages useCriterionWithScale
. Create another class,io.github.oliviercailloux.decision.model.Criterion
, immutable, with only a name and id (no scale). Your classes (in thedecision
packages) should useCriterion
and notCriterionWithScale
. Similarly, rename theAlternative
toUTAAlternative
, which usesCriterionWithScale
, and create another one,EvaluatedAlternative
, which usesCriterion
and which the code indecision
uses.