edu.ucla.belief.recursiveconditioning
Class Computation

Object
  extended by Computation
Direct Known Subclasses:
Computation.All, Computation.Pe

public abstract class Computation
extends Object

Since:
060503
Author:
Keith Cascio

Nested Class Summary
static class Computation.All
           
static class Computation.Pe
           
 
Field Summary
static boolean FLAG_DEBUG
           
static int INT_MINUTE_HOUR_THRESHOLD
           
static int INT_SECOND_MINUTE_THRESHOLD
           
static String STR_HOURS_UNIT
           
static String STR_MINUTE_UNIT
           
static String STR_SECOND_UNIT
           
 
Constructor Summary
Computation(RC rc, String descriptor)
           
 
Method Summary
abstract  double calcExpectedNumberOfRCCalls(RC rc)
           
 boolean copy(Computation toCopy)
           
 String getDescriptor()
           
 int getEstimatedHours()
           
 int getEstimatedMinutes()
           
 int getEstimatedSeconds()
           
 double getExpectedNumberOfRCCalls()
           
abstract  double getNumCacheEntries(RC rc)
           
 double getNumMaxCacheEntries()
           
 double getNumRCCallsMaxCache()
           
 double getOptimalMemoryRequirement()
           
 void refresh()
           
 void setExpectedNumberOfRCCalls(double d)
           
 String[] updateElapsedTimeDisplay(double milliseconds)
           
 String[] updateEstimatedMinutesDisplay()
           
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FLAG_DEBUG

public static boolean FLAG_DEBUG

INT_SECOND_MINUTE_THRESHOLD

public static final int INT_SECOND_MINUTE_THRESHOLD
See Also:
Constant Field Values

INT_MINUTE_HOUR_THRESHOLD

public static final int INT_MINUTE_HOUR_THRESHOLD
See Also:
Constant Field Values

STR_SECOND_UNIT

public static final String STR_SECOND_UNIT
See Also:
Constant Field Values

STR_MINUTE_UNIT

public static final String STR_MINUTE_UNIT
See Also:
Constant Field Values

STR_HOURS_UNIT

public static final String STR_HOURS_UNIT
See Also:
Constant Field Values
Constructor Detail

Computation

public Computation(RC rc,
                   String descriptor)
Method Detail

refresh

public void refresh()

getNumCacheEntries

public abstract double getNumCacheEntries(RC rc)

calcExpectedNumberOfRCCalls

public abstract double calcExpectedNumberOfRCCalls(RC rc)

copy

public boolean copy(Computation toCopy)

getDescriptor

public String getDescriptor()
Since:
070703

getNumMaxCacheEntries

public double getNumMaxCacheEntries()

getNumRCCallsMaxCache

public double getNumRCCallsMaxCache()
Since:
091803

getOptimalMemoryRequirement

public double getOptimalMemoryRequirement()

getExpectedNumberOfRCCalls

public double getExpectedNumberOfRCCalls()

setExpectedNumberOfRCCalls

public void setExpectedNumberOfRCCalls(double d)

getEstimatedSeconds

public int getEstimatedSeconds()

getEstimatedMinutes

public int getEstimatedMinutes()

getEstimatedHours

public int getEstimatedHours()

updateEstimatedMinutesDisplay

public String[] updateEstimatedMinutesDisplay()

updateElapsedTimeDisplay

public String[] updateElapsedTimeDisplay(double milliseconds)


Copyright 2010 UCLA Automated Reasoning Group