Skip to main content

Crate ternary_captain

Crate ternary_captain 

Source
Expand description

Captain/leadership pattern for fleet coordination.

Provides a Captain struct that leads a group of agents, a DecisionEngine for weighing ternary options, a Delegator for assigning tasks, a SituationRoom for aggregating sensor data, a FleetReport for status aggregation, and a SuccessionPlan for captain handoff.

Structs§

AgentInfo
Information about an agent in the fleet.
Captain
Leads a group of agents with ternary decision making.
DecisionEngine
Weighs ternary options and produces decisions.
Delegator
Assigns tasks to agents based on specialization and fitness.
FleetReport
Status aggregation from subordinate agents.
SituationRoom
Aggregates sensor data from agents for decision making.
SuccessionPlan
Handles captain handoff when a room changes or captain becomes unavailable.

Enums§

AgentStatus
Status of an agent in the fleet.
Ternary
A balanced ternary digit: Negative (-1), Zero (0), or Positive (+1).