|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectparameterrules.ParameterRule
parameterrules.BoundaryRule
Implements the rule that the "leftSide" must be greater than or less than the ratio of two products of input parameters.
Field Summary |
Fields inherited from class parameterrules.ParameterRule |
numParams, paramNums |
Method Summary | |
ParameterRule |
copy()
|
float |
getFuzzyScore(float[] params)
This method should return 0 if the parameters in the input set pass the criteria in this rule. |
protected void |
loadParameter(java.lang.String info,
BetterTokenizer tokenizer)
Override this function for each parameter rule to load in setup info specific to that rule. |
Methods inherited from class parameterrules.ParameterRule |
changeParameters, init, isGood, loadParameters, pickNewParameterValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public ParameterRule copy()
copy
in class ParameterRule
public float getFuzzyScore(float[] params)
ParameterRule
getFuzzyScore
in class ParameterRule
params
- The values of all the parameters in the reference parameter set.
The params array and the reference parameter set need to match one-to-one.protected void loadParameter(java.lang.String info, BetterTokenizer tokenizer) throws java.lang.Exception
ParameterRule
loadParameter
in class ParameterRule
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |