Skip to main content

AgentGotoMapper

Type Alias AgentGotoMapper 

Source
pub type AgentGotoMapper = Box<dyn Fn(&HashMap<String, Value>) -> Option<Vec<String>> + Sync + Send>;
Available on crate feature graph only.
Expand description

Chooses an AgentNode’s successors from the updates it just produced.

Returning None leaves the node’s declared edges in charge.

Aliased Type§

pub struct AgentGotoMapper(/* private fields */);