pub enum AgentAction {
Idle,
Move(Position),
EngulfDocument(DocumentId),
PresentFragments(Vec<FragmentPresentation>),
Deposit(SubstrateLocation, Trace),
Emit(Signal),
WireNodes(Vec<(NodeId, NodeId, f64)>),
Apoptose,
SymbioseWith(AgentId),
ExportCapability(CapabilityId),
ContributeToCollective,
}Expand description
An action returned by an agent’s tick.
Variants§
Idle
Agent is idle — nothing to do.
Move(Position)
Agent wants to move toward a position.
EngulfDocument(DocumentId)
Agent wants to engulf a specific document from the substrate.
PresentFragments(Vec<FragmentPresentation>)
Agent is presenting digested fragments (concepts to add to graph).
Deposit(SubstrateLocation, Trace)
Agent is depositing a trace.
Emit(Signal)
Agent is emitting a signal.
WireNodes(Vec<(NodeId, NodeId, f64)>)
Agent is wiring connections between nodes.
Apoptose
Agent is triggering apoptosis.
SymbioseWith(AgentId)
Agent is attempting symbiosis with another agent.
ExportCapability(CapabilityId)
Agent is exporting a capability.
ContributeToCollective
Agent is contributing to collective computation.
Trait Implementations§
Source§impl Clone for AgentAction
impl Clone for AgentAction
Source§fn clone(&self) -> AgentAction
fn clone(&self) -> AgentAction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AgentAction
impl RefUnwindSafe for AgentAction
impl Send for AgentAction
impl Sync for AgentAction
impl Unpin for AgentAction
impl UnwindSafe for AgentAction
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