edu.ucla.belief.io
Class CPTInfo
Object
CPTInfo
public class CPTInfo
- extends Object
Bundle info about a CPT
imported from a tab-delimited file.
- Since:
- 022405
- Author:
- Keith Cascio
DOUBLE_EPSILON
public static final double DOUBLE_EPSILON
- See Also:
- Constant Field Values
DOUBLE_FILL_VALUE
public static final double DOUBLE_FILL_VALUE
- See Also:
- Constant Field Values
length
public final int length
CPTInfo
public CPTInfo(FiniteVariable joint,
CPTInfo.ReadableWritableTable destination)
index
public int index(FiniteVariable var)
getUtilMap
public Map getUtilMap()
setParameter
public void setParameter(Map mapping,
String token)
throws Exception
- Throws:
Exception
getUtilIndices
public int[] getUtilIndices()
setParameter
public void setParameter(int[] mindex,
String token)
throws Exception
- Throws:
Exception
epsilonEquals
public static boolean epsilonEquals(double v1,
double v2,
double epsilon)
getNumRedundant
public int getNumRedundant()
getNumConflicts
public int getNumConflicts()
countInformationParameters
public int countInformationParameters()
countInformationConditions
public int countInformationConditions()
getNumChanged
public int getNumChanged()
getNumSpared
public int getNumSpared()
normalizeAllNew
public void normalizeAllNew()
getDistanceMeasure
public double getDistanceMeasure(boolean superimpose)
- Since:
- 022805
distanceMeasure
public double distanceMeasure(CPTInfo.ReadableWritableTable destination,
boolean superimpose)
- Since:
- 022805
commit
public void commit(boolean superimpose,
boolean normalize)
- Since:
- 022805
normalizeSuperimposed
public void normalizeSuperimposed()
- Since:
- 030105
getJoint
public FiniteVariable getJoint()
- Since:
- 022805
getParameter
public CPTInfo.Parameter getParameter(int i)
- Since:
- 030705
isCommitted
public boolean isCommitted()
- Since:
- 030805
Copyright 2010 UCLA Automated Reasoning Group