Skip to main content

solverforge_scoring/constraint/relational/
mod.rs

1//! Generic relational scoring terminal over the common operator tree.
2//!
3//! One terminal scores any operator tree and retains a signed score per
4//! terminal row; the operator decides WHICH rows exist, the terminal decides
5//! WHAT each row scores and publishes signed deltas through
6//! `IncrementalConstraint`. Arity lives entirely in the operator tree, so one
7//! terminal serves every depth.
8
9mod grouped_weights;
10mod operator_scorer;
11mod operator_terminal;
12mod shared_terminal;
13
14pub use grouped_weights::{
15    DirectComplementAdapter, DirectComplementWeight, GroupAdapter, GroupWeight, GroupedJoinAdapter,
16    GroupedJoinWeight, OptionalComplementAdapter, OptionalComplementWeight,
17};
18pub use operator_scorer::{AdaptWeight, OperatorScorer, OperatorScorerSet, RowWeight, ScorerChain};
19pub use operator_terminal::OperatorTerminal;
20pub use shared_terminal::{SharedOperatorBuilder, SharedOperatorTerminal};