#behavior3java 基于behavior3edit行为树的java版本。
- https://github.com/behavior3/behavior3editor 源码
- https://github.com/magicsea/behavior3editor/releases 桌面版本
- 行为树图
- 运行结果
- Composite Node 组合节点
- Decorator Node 修饰节点
- Condition Node 条件节点(叶节点)
- Action Node 动作节点(叶节点)
- SUCCESS 节点执行成功
- FAILED 节点失败
- RUNNING 节点正在运行
- ERROR 程序错误
- Priorty(Selector) Node 选择节点
当执行本类型Node时,它将从begin到end迭代执行自己的Child Node: 如遇到一个Child Node执行后返回True,那停止迭代, 本Node向自己的Parent Node也返回True;否则所有Child Node都返回False, 那本Node向自己的Parent Node返回False。
- Sequence Node 顺序节点
当执行本类型Node时,它将从begin到end迭代执行自己的Child Node: 如遇到一个Child Node执行后返回False,那停止迭代, 本Node向自己的Parent Node也返回False;否则所有Child Node都返回True, 那本Node向自己的Parent Node返回True。
- Parallel Node (计划)
并发执行它的所有Child Node。 而向Parent Node返回的值和Parallel Node所采取的具体策略相关: Parallel Selector Node: 一False则返回False,全True才返回True。 Parallel Sequence Node: 一True则返回True,全False才返回False。 Parallel Hybird Node: 指定数量的Child Node返回True或False后才决定结果。
- Random 随机节点 (计划)
随机的执行节点
- Inverter
- Limiter
- MaxTime
- Repeater
- RepeatUntilFailure
- RepeatUntilSuccess
- Succeeder
- Failer
- Error
- Runner
- Wait
- http://www.aisharing.com/archives/90#comment-238610
- https://www.behaviac.com/concepts/
- https://note.youdao.com/ynoteshare1/index.html?id=4f46dc2144ea62b55f597630f5e666b4&type=note
- https://github.com/magicsea/behavior3go
- https://github.com/behavior3/behavior3js
- https://github.com/behavior3/behavior3py
669607652