com.pawjaw.classification.crf.lmcbt
Class CRFMath

java.lang.Object
  extended by com.pawjaw.classification.crf.lmcbt.CRFMath

public class CRFMath
extends java.lang.Object


Field Summary
static double LOGONE
           
static double LOGZERO
           
 
Constructor Summary
CRFMath()
           
 
Method Summary
static double eExp(double x)
           
static double eLog(double x)
           
static double eLogProduct(double elogx, double elogy)
           
static double eLogSum(double elogx, double elogy)
           
static boolean isLogZero(double x)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGZERO

public static final double LOGZERO
See Also:
Constant Field Values

LOGONE

public static final double LOGONE
See Also:
Constant Field Values
Constructor Detail

CRFMath

public CRFMath()
Method Detail

isLogZero

public static final boolean isLogZero(double x)

eExp

public static final double eExp(double x)

eLog

public static final double eLog(double x)

eLogSum

public static final double eLogSum(double elogx,
                                   double elogy)

eLogProduct

public static final double eLogProduct(double elogx,
                                       double elogy)