code: protected void rescore() {
          double maxScore = this.scoreIncrement;
          for (int idx = 1; idx < this.vars.size(); idx++) {
              final double p = this.decisions.priority(idx);
              if (p > maxScore) { maxScore = p; }
          }
          final double factor = 1 / maxScore;
          this.decisions.rescore(factor);
          this.scoreIncrement *= factor;
      }
docs: Rescores all variables.