ECT Webstart Component Index

Index

Testing

Behaviour

Information I/O

Physical I/O

Details (partial)

Association Learner

equip.ect.components.associationlearner.AssociationLearner

Author/source

Chris Greenhalgh, Shahram Izadi (Nottingham)

Description

Can be trained with a 1D mapping between input and output. Training is performed by presenting an input to in and then presenting the desired output value to trainingOut. The output out will always output the mapping (if any) associated with the current input. Where the input is a number(Java type) and the output is a number (Java type) then the Association Learner will fix a piece-wise linear function to the trained associations, i.e. an input between those already seen will result in an output interpolated between the trained outputs. When the input is a number (Java type) and the output is not then the output will be mapping of the trained input that is closest to the current input.

Input properties

Output properties

Persistence

Implements equip.ect.Persistable. Uses equip.ect.PersistenceManager persistObject and loadObject to persist (Java Serialize) the bean itself. On load the trainedInputs (TreeSet) and associations (Hashtable) are restored.

BeanShell

equip.ect.components.bsh.BeanShell
Subcomponent: equip.ect.components.bsh.BeanShellArg

Author/source

Ted Phelps (Sussex/Lancaster)

Description

Host and execute a single bean shell script.Set the "inputNamesString" property to a whitespace-separated list of script input arguments; the BeanShell component will then create corresponding BeanShellInput sub-components, the "value" property of which is linked to the corresponding script argumennt. Similarly, set the "outputNamesString" property to create BeanShellOutput sub-components. The script is re-executed each time an input changes.

Persistence

Implements equip.ect.Persistable. Uses equip.ect.PersistenceManager persistObject and loadObject to persist the lists of input and output arguments and the script in a text file.On load these are restored. (Could probably use default persistence, but that didn't exist at the time.)