Skip to main content

Module score

Module score 

Source
Expand description

Score types for representing solution quality

Scores are used to compare solutions and guide the optimization process. All score types are immutable and implement arithmetic operations.

Structs§

BendableScore
A score with a configurable number of hard and soft levels.
HardMediumSoftScore
A score with hard, medium, and soft constraint levels.
HardSoftDecimalScore
A score with separate hard and soft constraint levels, using i64 with x100000 scaling.
HardSoftScore
A score with separate hard and soft constraint levels.
ScoreParseError
Error when parsing a score from string
SoftScore
A simple score with a single integer value.

Enums§

ScoreLevel
Score level representing different constraint priorities.

Traits§

ParseableScore
Scores with a text form that can be parsed and rendered.
Score
Core trait for all score types in SolverForge.