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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// Copyright 2025 Neuraville Inc.
// SPDX-License-Identifier: Apache-2.0
/*!
Core data models for FEAGI BDU.
This module contains the fundamental data structures that represent the
brain's architecture, including cortical areas, brain regions, and their
hierarchical organization.
## Architecture
Mirrors the Python BDU models while leveraging Rust's type system for safety:
- `CorticalArea`: Individual processing areas (sensory, motor, memory)
- `BrainRegion`: Hierarchical organization of cortical areas
- `BrainRegionHierarchy`: Tree structure of brain regions
## Design Principles
1. **Type Safety**: Use Rust's strong typing to prevent invalid states
2. **Immutability**: Core properties are immutable; updates create new instances
3. **Validation**: All constructors validate invariants
4. **Performance**: Optimized for the hot path (connectome queries)
5. **Serializability**: All types implement Serialize/Deserialize for genome I/O
Copyright 2025 Neuraville Inc.
Licensed under the Apache License, Version 2.0
*/
// Re-export CorticalArea types from feagi_data_structures (single source of truth)
pub use ;
// Re-export extension trait for business logic
pub use CorticalAreaExt;
// BrainRegion and RegionType now come from feagi_data_structures
pub use BrainRegionHierarchy;
pub use ;