Skip to main content

solverforge_core/score/
level.rs

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