solverforge_core/score/level.rs
1/* Score level representing different constraint priorities.
2
3Maps to the semantic meaning of each level index within a [`Score`](super::Score).
4Used by [`Score::level_label`](super::Score::level_label) to classify what
5a given level index represents.
6*/
7#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
8pub enum ScoreLevel {
9 // Hard constraints - must be satisfied for feasibility.
10 Hard,
11 // Medium constraints - secondary priority.
12 Medium,
13 // Soft constraints - optimization objectives.
14 Soft,
15}