score property
A soma ponderada dos componentes.
Implementation
double get score =>
notesPerSecond * sightWeights.notesPerSecond +
maxPolyphony * sightWeights.maxPolyphony +
max(0.0, density - 2.5) * sightWeights.density +
maxSpan * sightWeights.maxSpan +
leapRate * sightWeights.leapRate +
accidentalsPerBar * sightWeights.accidentalsPerBar +
keyAccidentals * sightWeights.keyAccidentals +
maxLedgerLines * sightWeights.maxLedgerLines +
rhythmKinds * sightWeights.rhythmKinds +
independence * sightWeights.independence +
(voices - 1) * sightWeights.voices +
max(0, parts - 2) * sightWeights.parts;