org.jasen.interfaces
Interface JasenTestResult

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractTestResult

public interface JasenTestResult
extends Serializable

Contains the information pertaining to the result of a test.

Author:
Jason Polites

Method Summary
 float calculateProbability()
          Calculates the final probability for this test result based on the data contained within
 boolean isAbsolute()
          Returns true if this test absolutely, categorically, undeniably indicates spam
 

Method Detail

isAbsolute

public boolean isAbsolute()
Returns true if this test absolutely, categorically, undeniably indicates spam

Returns:

calculateProbability

public float calculateProbability()
                           throws JasenException
Calculates the final probability for this test result based on the data contained within

Returns:
A probability such that the returned value is > 0.0 and < 1.0
Throws:
JasenException