edu.ucla.belief.recursiveconditioning
Class RC.RCStats

Object
  extended by RC.RCStats
Direct Known Subclasses:
RC.RCStats_All, RC.RCStats_Pe
Enclosing class:
RC

public abstract class RC.RCStats
extends Object


Field Summary
static double entriesToMB
           
static double NOT_COMPUTED_dbl
           
static int NOT_COMPUTED_int
           
 
Constructor Summary
RC.RCStats()
          Create an RCStats object without doing any computations yet.
RC.RCStats(int numNodes, double numCacheEntries, double expectedNumberOfRCCalls)
          Warning: If you don't know the value of one of the parameters, you must pass in NOT_COMPUTED_int or NOT_COMPUTED_dbl, otherwise these classes will not work.
 
Method Summary
 void calculateStats()
           
 double expectedNumberOfRCCalls()
           
 double numCacheEntries()
           
 double numCacheEntriesMB()
           
 int numInternalNodes()
           
 int numLeafNodes()
           
 int numNodes()
           
 int numNodesCached()
           
 int numNodesNotCached()
           
 void reset()
           
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NOT_COMPUTED_int

public static final int NOT_COMPUTED_int
See Also:
Constant Field Values

NOT_COMPUTED_dbl

public static final double NOT_COMPUTED_dbl
See Also:
Constant Field Values

entriesToMB

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

RC.RCStats

public RC.RCStats()
Create an RCStats object without doing any computations yet.


RC.RCStats

public RC.RCStats(int numNodes,
                  double numCacheEntries,
                  double expectedNumberOfRCCalls)
Warning: If you don't know the value of one of the parameters, you must pass in NOT_COMPUTED_int or NOT_COMPUTED_dbl, otherwise these classes will not work.

Method Detail

reset

public void reset()

calculateStats

public void calculateStats()

numInternalNodes

public final int numInternalNodes()

numLeafNodes

public final int numLeafNodes()

numNodesCached

public final int numNodesCached()

numNodesNotCached

public final int numNodesNotCached()

numNodes

public final int numNodes()

numCacheEntriesMB

public final double numCacheEntriesMB()

numCacheEntries

public final double numCacheEntries()

expectedNumberOfRCCalls

public final double expectedNumberOfRCCalls()


Copyright 2010 UCLA Automated Reasoning Group