AI controlled aggressivness character based on its health and its enemy’s health

Here's an example of a rule base that's used to calculate the aggressiveness of an AI controlled character based on its health and its enemy’s health. The model has two input variables: Our_Health and Enemy_Health and one output variable: Aggressiveness.

The example has been take from the FCL (Fuzzy Control Language) Web page and shows how to encode a fuzzy rule base in fuzzyDL.

The example implementing an illustrative flood alerting system file can be found here.