Skip to main content

Crate feagi_evolutionary

Crate feagi_evolutionary 

Source
Expand description

§FEAGI Evolution & Genome Management

Handles all genotype operations for FEAGI:

  • Genome I/O (JSON ↔ Rust structs)
  • Genome validation
  • Evolution operators (mutation, crossover)
  • Fitness evaluation
  • Population management

§Architecture

This crate manages the genetic blueprint (genotype) of FEAGI brains. The actual instantiated brain structure (phenotype) is handled by feagi-bdu.

§Separation of Concerns

feagi-evo (Genotype)        feagi-bdu (Phenotype)
─────────────────────       ─────────────────────
│ Genome JSON I/O    │  →   │ Neuroembryogenesis │
│ Genome Validation  │      │ Connectome I/O      │
│ Evolution Ops      │      │ Synaptogenesis      │
│ Fitness Eval       │      │ NPU Integration     │
└────────────────────┘      └─────────────────────┘

§Modules

  • genome - Genome I/O and validation
  • evolution - Evolution operators (future)
  • fitness - Fitness evaluation (future)
  • population - Population management (future)

Copyright 2025 Neuraville Inc. Licensed under the Apache License, Version 2.0

Re-exports§

pub use converter_flat::convert_flat_to_hierarchical;
pub use converter_flat_full::convert_flat_to_hierarchical_full;
pub use converter_hierarchical_to_flat::convert_hierarchical_to_flat;
pub use cortical_type_parser::parse_cortical_type;
pub use cortical_type_parser::validate_cortical_type;
pub use genome::parser::string_to_cortical_id;
pub use genome::load_genome_from_file;
pub use genome::load_genome_from_json;
pub use genome::migrate_genome;
pub use genome::peek_quantization_precision;
pub use genome::save_genome_to_file;
pub use genome::save_genome_to_json;
pub use genome::GenomeParser;
pub use genome::GenomeSaver;
pub use genome::MigrationResult;
pub use genome::ParsedGenome;
pub use plasticity_detector::extract_memory_properties;
pub use plasticity_detector::genome_has_plasticity;
pub use plasticity_detector::MemoryAreaProperties;
pub use runtime::GenomeMetadata;
pub use runtime::GenomeSignatures;
pub use runtime::GenomeStats;
pub use runtime::Morphology;
pub use runtime::MorphologyParameters;
pub use runtime::MorphologyRegistry;
pub use runtime::MorphologyType;
pub use runtime::PatternElement;
pub use runtime::PhysiologyConfig;
pub use runtime::RuntimeGenome;
pub use storage::GenomeStorage;
pub use storage::StorageError;
pub use templates::add_core_morphologies;
pub use templates::create_death_area;
pub use templates::create_fatigue_area;
pub use templates::create_genome_with_core_areas;
pub use templates::create_genome_with_core_morphologies;
pub use templates::create_minimal_genome;
pub use templates::create_power_area;
pub use templates::ensure_core_components;
pub use templates::get_default_neural_properties;
pub use templates::load_barebones_genome;
pub use templates::load_essential_genome;
pub use templates::load_test_genome;
pub use templates::load_vision_genome;
pub use templates::BAREBONES_GENOME_JSON;
pub use templates::ESSENTIAL_GENOME_JSON;
pub use templates::TEST_GENOME_JSON;
pub use templates::VISION_GENOME_JSON;
pub use types::EvoError;
pub use types::EvoResult;
pub use validator::validate_genome;
pub use validator::ValidationResult;

Modules§

converter_flat
Convert flat genome format (2.0) to hierarchical format.
converter_flat_full
COMPLETE flat genome format (2.0) to hierarchical format converter.
converter_hierarchical_to_flat
Convert hierarchical genome format (RuntimeGenome) to flat genome format (3.0).
cortical_type_parser
Cortical Type Parser - Parse CorticalAreaType from genome properties
genome
Genome I/O and manipulation for FEAGI Evolution.
plasticity_detector
Plasticity detection for genome analysis
random
Cross-platform random number generation for FEAGI evolution.
runtime
Runtime genome representation for FEAGI.
storage
Genome Storage Abstraction
templates
Genome templates for FEAGI.
types
Core types and error handling for FEAGI Evolution.
validator
Genome validation for FEAGI.

Constants§

VERSION
Crate version from Cargo.toml