In this chapter, we will cover the following recipes:
Choosing through a decision tree
Working a finite-state machine
Improving FSMs: hierarchical finite-state machines
Combining FSMs and decision trees
Implementing behavior trees
Working with fuzzy logic
Representing states with numerical values: Markov system
Making decisions with goal-oriented behaviors