Skip to main content

Crate sim_lib_serial_core

Crate sim_lib_serial_core 

Source
Expand description

Finite symbolic alphabets, validated series, and certified total transforms.

This crate owns the pitch-independent serial contract: stable alphabet identity, symbol-bearing series, aggregate policy data, validation evidence, permutation rank delegation, and total evidence-producing transforms. Pitch rows, score realization, search, and enumeration live in their domain owners.

Structs§

AggregateLedger
Construction evidence retained by a valid crate::Series.
AlphabetId
Stable, portable identity of a finite serial alphabet.
AlphabetRegistry
A same-type alphabet registry that rejects duplicate stable identities.
BlockPartition
An ordered, exhaustive partition of source positions into non-empty blocks.
FiniteAlphabet
Reusable owned implementation of SerialAlphabet.
OrdinalMap
A complete bijection from output positions to input positions.
ProjectedClassEvidence
Observed and expected counts for one projected class.
ProjectedClassSpec
Symbol-based declaration of one projected aggregate class.
ProjectionId
Stable identity of one class in a projected aggregate.
Series
An ordered series of alphabet symbols validated against an aggregate rule.
SeriesTransform
A normalized positional and/or symbolic series transform.
SymbolBijection
A caller-defined, validated bijection between two finite alphabets.
TransformCertificate
Algebra evidence for one successfully applied transform.
TransformedSeries
A transformed series paired with the evidence that justifies it.

Enums§

AggregateRule
Aggregate rule data compiled from symbols into private canonical positions. Callers never provide raw ordinals.
AggregateRuleError
Failure while compiling symbolic aggregate-rule data for one alphabet.
AggregateRuleKind
Public category of an AggregateRule.
AlphabetError
Failure while defining an alphabet or registering its stable identity.
BlockPartitionError
Failure while validating an ordered block partition.
OrdinalMapError
Failure while validating or composing a finite ordinal map.
RelaxedInvariant
A source invariant explicitly relaxed by a transform.
SeriesError
Failure while validating or ranking a symbol-bearing series.
SeriesTransformError
Failure while applying, inverting, or composing a series transform.
SymbolBijectionError
Failure while validating a caller-supplied alphabet bijection.

Statics§

RECIPES
Cookbook recipes for this lib, embedded at build time.

Traits§

SerialAlphabet
A finite, ordered vocabulary used by a crate::Series.

Type Aliases§

OrdinalPermutation
Compatibility name emphasizing that an OrdinalMap is a permutation.
SymbolCount
One alphabet symbol paired with its declared aggregate count.