|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectclarion.system.AbstractMatchCalculator
clarion.system.DefaultMatchCalculator
public class DefaultMatchCalculator
This class implements a default match calculator within CLARION. It extends the AbstractMatchCalculator class.
Usage:
This class acts as the default match calculator that can be used within the subsystems of CLARION (mainly the ACS). It is used for calculating match statistics for any components within the CLARION Library that implement InterfaceTracksMatchStatistics. Usually the subsystem itself will contain a match calculator which is used communally by all of the components within that subsystem. However, if a component implements InterfaceHasMatchCalculator, then that component will use its own match calculator.
The method used by the default match calculator for determining positivity is:
Feedback >= Positive Match Threshold
Constructor Summary | |
---|---|
DefaultMatchCalculator()
|
Method Summary | |
---|---|
boolean |
isPositive(double feedback,
double threshold)
Checks to see if an outcome was positive based on the feedback received and a specified pre-defined threshold parameter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultMatchCalculator()
Method Detail |
---|
public boolean isPositive(double feedback, double threshold)
The method used by the default match calculator for determining positivity is:
Feedback >= Positive Match Threshold
isPositive
in class AbstractMatchCalculator
feedback
- The feedback received.threshold
- The threshold that must be passed in order for the outcome to be considered positive.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |