Crate emergent

Source
Expand description

Modern, modular and hierarchical way to define complex behaviors using simple building blocks.

§Main concepts

Note that AI techniques provided by this library are usable not only for agent behaviors but also for building emergent storytelling when used for smart world events generation. In fact AI can be used for automation and modularization of many aspects of game logic, not only agents and events - consider your creativity being the only limit of what AI techniques can be used for.

Modules§

builders
Helpers used to simplify building commonly used AI techniques.
combinators
Combinators are operations on sets of conditions.
condition
Conditions serve purpose of a boolean query to the memory state.
consideration
Considerations are used to tell possibility, how important certain fact about the world is.
decision_makers
Decision makers are engines that usually contain states and decide under what circumstances switch into which state.
evaluators
Evaluators are operations on sets of considerations.
memory
Generalized memory data stratctures.
score_mapping
Score mappings are used to remap scores calculated by considerations.
task
Tasks are units of work that perform small and concrete actions in time via memory manipulation.

Traits§

DecisionMakingTask

Type Aliases§

DefaultKey
Scalar