Free JavaScript Editor
Ajax Editor
|
|
OverviewThis chapter documents all the different variations of finite-state machines that prove useful in computer games. This includes fuzzy, nondeterministic, and stochastic state machines. Further extensions to finite-state machines—such as hierarchies—are left until the next chapter. Before starting the explanations, it seems appropriate to make clear distinctions between the different approaches, but also try to point out similarities (see Table 40.1). This can be somewhat confusing, because the mathematical background spans over multiple domains; terminology, and even interpretation, varies from one subject to another.
For each of the paradigms, there are acceptors (that determine whether an input sequence is valid), recognizers (classifying an input sequence), and transducers (outputting values matching the inputs):
This brief overview is intended to remove any possible misinterpretation of the techniques. Everything will become clear with the following technical coverage. |
|
|
Ajax Editor
JavaScript Editor