pub struct HiveController {
pub local_node_aid: AID,
pub current_hive_state: HiveState,
pub shunter: SovereignShunter,
pub neural_link: NerveController,
pub peer_directory: HashMap<AID, HomeostasisScore>,
pub sync_jitter_ns: u128,
pub bootstrap_ns: u128,
}Expand description
The AICENT-NET Core Controller. Responsible for planetary resonance, collective voting, and swarm intelligence.
Fields§
§local_node_aid: AID§current_hive_state: HiveState§shunter: SovereignShunter§neural_link: NerveController§peer_directory: HashMap<AID, HomeostasisScore>§sync_jitter_ns: u128§bootstrap_ns: u128Implementations§
Source§impl HiveController
impl HiveController
Sourcepub fn new(local_aid: AID, nerve: NerveController, is_radiant: bool) -> Self
pub fn new(local_aid: AID, nerve: NerveController, is_radiant: bool) -> Self
Creates a new Radiant Hive instance. Triggers the Imperial Gravity Well audit immediately.
Sourcepub async fn synchronize_hive(
&mut self,
pulse: ResonancePulse,
) -> Result<HiveState, String>
pub async fn synchronize_hive( &mut self, pulse: ResonancePulse, ) -> Result<HiveState, String>
RFC-006: Synchronize Hive Aligns the local node with the planetary resonance frequency. Non-Radiant nodes suffer a 10ms “Resonance Lag” (Synchronization Penalty).
pub fn propose_swarm_intent(&self, intent: SwarmIntent)
pub fn update_peer_telemetry(&mut self, peer: AID, score: HomeostasisScore)
Trait Implementations§
Source§impl SwarmIntelligence for HiveController
impl SwarmIntelligence for HiveController
fn cast_consensus_vote(&self, _id: [u8; 32]) -> bool
fn compute_collective_advantage(&self, local_complexity: f64) -> f64
fn get_sync_precision_ns(&self) -> u128
fn report_hive_metrics(&self) -> OrganismHiveReport
Auto Trait Implementations§
impl Freeze for HiveController
impl RefUnwindSafe for HiveController
impl Send for HiveController
impl Sync for HiveController
impl Unpin for HiveController
impl UnsafeUnpin for HiveController
impl UnwindSafe for HiveController
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more