Reinforce action link functionality working, need to remove system prints before finally committing and merging.  This will be done after I receive word from Fernand and Peter regarding correctness of reinforcement functionality.
Reinforce action link functionality working, need to remove system prints before finally committing and merging.  This will be done after I receive word from Fernand and Peter regarding correctness of reinforcement functionality.
Added the 'get-reinforcement-learning-theories' and 'set-reinforcement-learning-theory' primitives.  Modified the 'reinforce-action-link' primitive so that it now:
1) Takes an list of values to be used in the calculation of how much a link should be reinforced by.
2) Checks each value in the list passed to ensure that the value specified is of a Java 'Double' type.  If not, an exception is thrown.
Added the 'get-reinforcement-learning-theories', 'get-reinforcement-learning-theory' and 'set-reinforcement-learning-theory' primitives.  Modified the 'reinforce-action-link' primitive so that it now:
1) Takes an list of values to be used in the calculation of how much a link should be reinforced by.
2) Checks each value in the list passed to ensure that the value specified is of a Java 'Double' type.  If not, an exception is thrown.
Added the 'get-action-links', 'get-reinforcement-learning-theories', 'get-reinforcement-learning-theory' and 'set-reinforcement-learning-theory' primitives.  Modified the 'reinforce-action-link' primitive so that it now:
1) Takes an list of values to be used in the calculation of how much a link should be reinforced by.
2) Checks each value in the list passed to ensure that the value specified is of a Java 'Double' type.  If not, an exception is thrown.
3) If all values are of type Double then the list is converted to a Double array and passed to Node.reinforceActionLink() in the CHREST architecture.
1) Includes new CHREST architecture JAR that enables reinforcement learning.
2) Removes the 'get-action-links' extension primitive since the 'recognise-pattern-and-return-pattern-of-specified-modality' does the same job but in a more generic manner.
3) Removes the 'GetActionLinks' class since it is no longer used due to the removal of the 'get-action-links' primitive.
4) Refactors the 'recognise-pattern-and-return-pattern-of-specified-modality' primitive so that when action nodes are to be returned, nodes and their reinforcment values are returned as a Netlogo list.
Refactored list creation in 'RecognisePatternAndReturnPatternsOfSpecifiedModality' class since Netlogo uses white-space to parse list items and the reinforcement value should be a double data-type rather than a string.
Adds functionality to remove spaces after '<' and before '>' in action patterns that are present in the list returned by the 'recognise-pattern-and-return-patterns-of-specified-modality' primitive.  These spaces cause errors when a Netlogo model parses up the list.
The 'get-reinforcement-links' primitive has been refactored to work with the refactored 'Chrest.getReinforcementLearningTheory' method.  The 'recognise-pattern-and-return-patterns-of-specified-modality' primitive now returns a list containing two inner lists: a pattern and a weight seperated by a comma.  This means that the list that the primitive returns can be parsed by the Netlogo 'String' extension.
Removed debug fragments and unnecessary import from 'ReinforceActionLink' class.
Removed tracking of Netbeans files.
Merge branch 'reinforce-visual-and-action-links'