Jido.Agent.Strategy.BehaviorTree.State (Jido Behavior Tree v1.0.0)

View Source

Internal state for the BehaviorTree strategy.

Stored in agent.state.__strategy__.bt.

Summary

Functions

Creates a new State with the given tree and blackboard

Returns the Zoi schema for this module

Types

t()

@type t() :: %Jido.Agent.Strategy.BehaviorTree.State{
  blackboard: any(),
  error: nil | any(),
  initial_blackboard: any(),
  last_result: nil | any(),
  status: atom(),
  tick_count: integer(),
  tree: any()
}

Functions

new(tree, blackboard)

Creates a new State with the given tree and blackboard

schema()

Returns the Zoi schema for this module