feagi_evolutionary/
lib.rs1pub const VERSION: &str = env!("CARGO_PKG_VERSION");
45
46mod amalgamation_remap;
48pub mod converter_flat;
49pub mod converter_flat_full;
50pub mod converter_hierarchical_to_flat;
51pub mod cortical_type_parser;
52pub mod genome;
53pub mod plasticity_detector;
54pub mod random;
55pub mod runtime;
56pub mod storage;
57pub mod templates;
58pub mod types;
59pub mod validator;
60
61pub use amalgamation_remap::remap_guest_custom_memory_cortical_ids_for_amalgamation;
63pub use converter_flat::convert_flat_to_hierarchical;
64pub use converter_flat_full::convert_flat_to_hierarchical_full;
65pub use converter_hierarchical_to_flat::convert_hierarchical_to_flat;
66pub use cortical_type_parser::{parse_cortical_type, validate_cortical_type};
67pub use genome::parser::string_to_cortical_id;
68pub use genome::{
69 load_genome_from_file, load_genome_from_json, migrate_genome, peek_quantization_precision,
70 save_genome_to_file, save_genome_to_json, subset_runtime_genome_for_region_branch,
71 GenomeParser, GenomeSaver, MigrationResult, ParsedGenome,
72};
73pub use plasticity_detector::{
74 extract_memory_properties, genome_has_plasticity, MemoryAreaProperties,
75};
76pub use runtime::{
77 GenomeMetadata, GenomeSignatures, GenomeStats, Morphology, MorphologyParameters,
78 MorphologyRegistry, MorphologyType, PatternElement, PhysiologyConfig, RuntimeGenome,
79};
80#[cfg(feature = "async-tokio")]
81pub use storage::fs_storage::FileSystemStorage;
82pub use storage::{GenomeStorage, StorageError};
83pub use templates::{
84 add_core_morphologies, create_death_area, create_fatigue_area, create_genome_with_core_areas,
85 create_genome_with_core_morphologies, create_minimal_genome, create_power_area,
86 ensure_core_components, get_default_neural_properties, load_barebones_genome,
87 load_essential_genome, load_test_genome, load_vision_genome, BAREBONES_GENOME_JSON,
88 ESSENTIAL_GENOME_JSON, TEST_GENOME_JSON, VISION_GENOME_JSON,
89};
90pub use types::{EvoError, EvoResult};
91pub use validator::{validate_genome, ValidationResult};