Crate forester_rs

Source
Expand description

Forester represents a framework that provides the set of tools to perform the effective orchestration of the set of tasks. The tasks can be performed synchronously or asynchronously, locally or remotely. Forester takes care of the correct performance and distribution of the tasks. the main concept of the framework is the flow based on the behavior trees it can be effectively used in the game, ai, robotic areas, or anywhere where the workflow engine can be applied.

Modules§

converter
runtime
simulator
tracer
tree
visualizer

Macros§

action
Creates RtNodeBuilder::Leaf(..)
arg
Creates an argument RtArgument. Accepts a string and a value
args
Creates a list of arguments.
decorator
Creates RtNodeBuilder::decorator(..)
flow
Creates RtNodeBuilder::flow(..) The syntax is the following: with enlisting flow!(type name, args; children...)
node_name
Creates RNodeName
rt_array
RtValue::Array that has the same behaviour as an array
rt_bool
RtValue::Bool that accepts true | false as argument
rt_num
RtValue::Number that accepts (i i64) | (f f64) | (b usize) (h usize) as argument
rt_obj
RtValue::Object that has the same behaviour as an json_object
rt_ptr
RtValue::Pointer that accepts &str as argument
rt_str
RtValue::String that accepts &str as argument

Functions§

read_file
runtime_tree_default