summaryrefslogtreecommitdiff
path: root/morphology/src/lib.rs
blob: bfc40f1c6d027f1bc8068cfcaead44afeced59d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//! Morphology: Meta-Affine Sequence Generator
//!
//! A library for generating and validating meta-affine sequences and other
//! mathematically defined structures.
//!
//! A meta-affine space consists of 2-tuple values (outer, inner) derived from (0,0)
//! using five derivation rules. Valid sets are downward-closed subsets, and valid
//! sequences are ordered arrangements of set elements satisfying four constraints.
//!
//! # Modules
//!
//! - [`value`] - Core data structures: Value type and minimum derivation paths
//! - [`set`] - Valid set generation and validation
//! - [`sequence`] - Valid sequence generation and constraint checking

pub mod value;
pub mod set;
pub mod sequence;

// Re-export main types and functions for convenience
pub use value::{Value, get_minimum_derivation_path, path_length};
pub use set::ValidSet;
pub use sequence::{
    Sequence, PrecedenceOrder, SequenceOptions, SortingMethod, SortingDirection,
    LengthSorting, sort_sequences, generate_all_sequences
};