Package com.tibco.patterns.learn.rlink
Class ConfNone
- java.lang.Object
-
- com.tibco.patterns.learn.rlink.ConfNone
-
- All Implemented Interfaces:
Confidence
- Direct Known Subclasses:
ConfQNone
public class ConfNone extends java.lang.Object implements Confidence
Turns off calculation of a confidence measure. Immutable class. No Confidence measure is returned from the predicttion methods.
-
-
Constructor Summary
Constructors Constructor Description ConfNone()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConfType()Return the confidence type.doublegetDblArg(int idx)Return a double parameter.intgetIntArg(int idx)Return an integer parameter.
-
-
-
Method Detail
-
getConfType
public int getConfType()
Return the confidence type.- Specified by:
getConfTypein interfaceConfidence- Returns:
- the confidence type for the None measure.
-
getIntArg
public int getIntArg(int idx)
Return an integer parameter. There are none, we just always return -1.- Specified by:
getIntArgin interfaceConfidence- Parameters:
idx- the integer parameter index, zero based.- Returns:
- -1.
-
getDblArg
public double getDblArg(int idx)
Return a double parameter. There are none, we always return -1.0.- Specified by:
getDblArgin interfaceConfidence- Parameters:
idx- the double parameter index, zero based.- Returns:
- -1.0
-
-