Skip to main content

QueryOrchestrator

Struct QueryOrchestrator 

Source
pub struct QueryOrchestrator {
    pub engine: HybridEngine,
    pub xlr: AdaptiveXlrEngine,
    pub semantic: SemanticEngine,
    pub temporal: TemporalEngine,
    pub topology: TopologyAnalyzer,
    pub resonance: ResonanceEngine,
    pub plasticity: PlasticityEngine,
    pub counterfactual: CounterfactualEngine,
}
Expand description

High-level query orchestrator. Owns all engine subsystems. Replaces: engine_v2.py ConnectomeEngine

Fields§

§engine: HybridEngine§xlr: AdaptiveXlrEngine§semantic: SemanticEngine§temporal: TemporalEngine§topology: TopologyAnalyzer§resonance: ResonanceEngine§plasticity: PlasticityEngine§counterfactual: CounterfactualEngine

Implementations§

Source§

impl QueryOrchestrator

Source

pub fn build(graph: &Graph) -> M1ndResult<Self>

Build orchestrator from a graph. Initialises all subsystems. Replaces: engine_v2.py ConnectomeEngine.init()

Source

pub fn query( &mut self, graph: &mut Graph, config: &QueryConfig, ) -> M1ndResult<QueryResult>

Execute a full query: seed finding -> 4-dim parallel activation -> XLR -> merge -> ghost edges -> structural holes -> plasticity update. Four dimensions run in parallel via rayon. Replaces: engine_v2.py ConnectomeEngine.query()

Source

pub fn detect_ghost_edges( &self, graph: &Graph, activation: &ActivationResult, ) -> M1ndResult<Vec<GhostEdge>>

Detect ghost edges from multi-dimensional resonance. Nodes activated in multiple dimensions but not directly connected = ghost edge. Replaces: engine_v2.py ConnectomeEngine._detect_ghost_edges()

Source

pub fn detect_structural_holes( &self, graph: &Graph, activation: &ActivationResult, min_sibling_activation: FiniteF32, ) -> M1ndResult<Vec<StructuralHole>>

Detect structural holes relative to an activation subgraph. Replaces: engine_v2.py StructuralHoleDetector.detect()

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.