Skip to content

Commit

Permalink
updated definitions for Btree components
Browse files Browse the repository at this point in the history
  • Loading branch information
shrutigarg914 committed Oct 16, 2024
1 parent 24a271a commit f431785
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions book/clutter.html
Original file line number Diff line number Diff line change
Expand Up @@ -1459,11 +1459,17 @@ <h1>Clutter clearing (complete demo)</h1>
condition may be "Is my hand empty?" which can be true (thus the
condition succeeds) or can be false (the condition fails). <br/><br/>

We'll consider two categories of control flow nodes:
More specifically, each node is periodically checked. In turn it will
check its children, and report status as success, failure or running
depending on its childrens' statuses. There are different categories
of control flow nodes, but we'll consider two categories of control
flow nodes:

<dl>
<dt>Sequence Node: ($\rightarrow$)</dt> <dd>Sequence nodes execute each
of the child behaviors one after another. The sequence <i>fails if any
of the children fail</i>. One way to think about this operator is that
<dt>Sequence Node: ($\rightarrow$)</dt> <dd>Sequence nodes execute
each of the child behaviors left to right. The sequence returns <i>failure
if any of the children fail</i> and <i>running if any of the children are
running</i>. One way to think about this operator is that
a sequence node takes an "and" over all of the child behaviors.</dd>
<dt>Fallback Node: (?)</dt> <dd>Fallback nodes also execute each of the
child behaviors one after another. However, fallback <i>succeeds if any
Expand Down

0 comments on commit f431785

Please sign in to comment.