Sample Beans

The following examples are packaged with the ABLE code. Each example has a corresponding directory in the /able/examples subdirectory. In the directory you will find the source code to the example as well as related data or rule files.

Simple AbleAgent

Files in the examples/ableagent directory show how to create a custom AbleAgent by extending the AbleDefaultAgent class, complete with source, BeanInfo file, and an example Customizer.

Simple AbleBean

Files beginning with SimpleAbleBean* in the examples/ablebean directory show how to easily create a custom AbleBean by extending the AbleObject class, complete with source, BeanInfo file, and an example Customizer.

AbleFileWatcher

Files beginning with AbleFileWatcher* in the examples/ablebean directory are referred to in Extending Able.

Fuzzy examples

Files in the examples/fuzzy directory show how to use Sensors and Effectors and contain various example rule sets.

Genetic examples

There are several GeneticObject examples in the examples/genetic directory. To access these, create a GeneticSearchAgent and specify the class function in the bean customizer dialog.

Neural examples

The following neural network examples can be found in the examples/neural directory:

Note that the suggested use for each example is not necessarily the only model that can be used with the data provided.