| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jasen.core.AbstractTestResult
org.jasen.core.ProbabilityTestResult
Returned from a test when the result indicates a spam probability.
PointTestResult, 
Serialized Form| Constructor Summary | |
ProbabilityTestResult()
 | 
|
ProbabilityTestResult(double probability)
Creates a new probability test result with the given probability  | 
|
| Method Summary | |
 float | 
calculateProbability()
Calculates the final probability for this test result based on the data contained within  | 
 double | 
getProbability()
Gets the probability that the result of the test indicates a spam message.  | 
 void | 
setProbability(float probability)
Sets the probability that the result of the test indicates a spam message.  | 
| Methods inherited from class org.jasen.core.AbstractTestResult | 
isAbsolute, setAbsolute | 
| Methods inherited from class java.lang.Object | 
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public ProbabilityTestResult()
public ProbabilityTestResult(double probability)
probability - | Method Detail | 
public double getProbability()
This result MUST always be 0.0 <= probability <= 1.0
The closer the result to 1.0, the more confidence the test indicates a spam message
public void setProbability(float probability)
This result MUST always be 0.0 <= probability <= 1.0
The closer the result to 1.0, the more confidence the test indicates a spam message
probability - public float calculateProbability()
JasenTestResult
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||