Giter Club home page Giter Club logo

behavior3_ts's Introduction

behavior3_ts

behavior3 typescript 版本

version: 0.2.2

翻译自 https://github.com/behavior3/behavior3js

behavior3 简单介绍说明

1、Action 具体的一个行为动作,就是我们最终行为树要做什么。是叶子节点 2、Condition 做一个判断条件,返回成功与失败 也是叶子节点,可以结合 Composite 实现 action 执行的前缀条件 3、Composite 一个组合节点,用于 模拟逻辑思维中的 多个条件 的结合判断, 4、Decorator 装饰器,用于给自节点增加修饰功能,比如 循环控制,逻辑非,超时控制等

6、运行过程中有四种状态 SUCCESS // 成功 FAILURE // 失败 RUNNING // 挂起 ERROR // 异常

7、Blackboard 其实就是一个公共的数据存储中心,主要是为了将 每个节点中的状态剥离出来。这样节点就是状态无关的一个东西。比较纯粹

behavior3_ts's People

Contributors

xzben avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.