edu.ucla.belief.inference
Class RCSettings
Object
RCSettings
- All Implemented Interfaces:
- ChangeBroadcaster, UserObject
public class RCSettings
- extends Object
- implements UserObject, ChangeBroadcaster
- Since:
- 20031029
- Author:
- keith cascio
FLAG_DEBUG_VERBOSE
public static boolean FLAG_DEBUG_VERBOSE
FLAG_DEBUG_VERBOSE_II
public static final boolean FLAG_DEBUG_VERBOSE_II
- See Also:
- Constant Field Values
FLAG_DEBUG_VERBOSE_III
public static final boolean FLAG_DEBUG_VERBOSE_III
- See Also:
- Constant Field Values
FLAG_DEBUG_VERBOSE_INFO
public static final boolean FLAG_DEBUG_VERBOSE_INFO
- See Also:
- Constant Field Values
FLAG_DEBUG_VERBOSE_CLONE
public static final boolean FLAG_DEBUG_VERBOSE_CLONE
- See Also:
- Constant Field Values
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
LONG_BYTES_PER_DOUBLE
public static final long LONG_BYTES_PER_DOUBLE
- See Also:
- Constant Field Values
DOUBLE_INVALID_OPTIMAL_MEMORY
public static final double DOUBLE_INVALID_OPTIMAL_MEMORY
- See Also:
- Constant Field Values
LONG_BYTE_KILO_THRESHOLD
public static final long LONG_BYTE_KILO_THRESHOLD
- See Also:
- Constant Field Values
LONG_KILO_MEGA_THRESHOLD
public static final long LONG_KILO_MEGA_THRESHOLD
- See Also:
- Constant Field Values
DOUBLE_BYTES_PER_BYTE
public static final double DOUBLE_BYTES_PER_BYTE
- See Also:
- Constant Field Values
DOUBLE_KILOBYTES_PER_BYTE
public static final double DOUBLE_KILOBYTES_PER_BYTE
- See Also:
- Constant Field Values
DOUBLE_MEGABYTES_PER_BYTE
public static final double DOUBLE_MEGABYTES_PER_BYTE
- See Also:
- Constant Field Values
DOUBLE_60
public static final double DOUBLE_60
- See Also:
- Constant Field Values
STR_EMPTY_UNIT
public static final String STR_EMPTY_UNIT
- See Also:
- Constant Field Values
STR_BYTE_UNIT
public static final String STR_BYTE_UNIT
- See Also:
- Constant Field Values
STR_KILOBYTE_UNIT
public static final String STR_KILOBYTE_UNIT
- See Also:
- Constant Field Values
STR_MEGABYTE_UNIT
public static final String STR_MEGABYTE_UNIT
- See Also:
- Constant Field Values
STR_MSG_OVERFLOW
public static final String STR_MSG_OVERFLOW
- See Also:
- Constant Field Values
EVENT_SETTING_CHANGED
public final ChangeEvent EVENT_SETTING_CHANGED
RCSettings
public RCSettings()
isStale
public boolean isStale()
setEliminationHeuristic
public boolean setEliminationHeuristic(EliminationHeuristic h)
getEliminationHeuristic
public EliminationHeuristic getEliminationHeuristic()
setInfo
public void setInfo(RCInfo rcinfo)
getInfo
public RCInfo getInfo()
setPrEOnly
public void setPrEOnly(boolean flag)
getPrEOnly
public boolean getPrEOnly()
setUserMemoryProportion
public boolean setUserMemoryProportion(double d)
setUserMemoryProportion
public boolean setUserMemoryProportion(double d,
boolean makeStale)
- Since:
- 070203
getUserMemoryProportion
public double getUserMemoryProportion()
getActualMemoryProportion
public double getActualMemoryProportion()
- Since:
- 102903
synchronizeMemoryProportion
public double synchronizeMemoryProportion()
- Since:
- 102903
selectBetterRCInfo
public static RCInfo selectBetterRCInfo(RCInfo newRCInfo,
RCInfo oldRCInfo)
- Since:
- 111003
generateInfo
public RCInfo generateInfo(BeliefNetwork bn)
- Since:
- 111003
generateInfoOrDie
public RCInfo generateInfoOrDie(BeliefNetwork bn)
throws Throwable
- Throws:
Throwable
- Since:
- 042005
setHeuristicAndValidateOrRollback
public boolean setHeuristicAndValidateOrRollback(EliminationHeuristic h,
BeliefNetwork bn)
throws Throwable
- Throws:
Throwable
- Since:
- 041405
validateRC
public boolean validateRC(BeliefNetwork bn)
throws Throwable
- Throws:
Throwable
validateAllocation
public boolean validateAllocation(BeliefNetwork bn)
throws Throwable
- Throws:
Throwable
updateUserMemoryDisplay
public String updateUserMemoryDisplay()
updateUserMemoryDisplay
public String updateUserMemoryDisplay(double proportion)
updateOptimalMemoryDisplay
public String[] updateOptimalMemoryDisplay()
updateEstimatedMinutesDisplay
public String[] updateEstimatedMinutesDisplay()
updateEstimatedMillisDisplay
public String[] updateEstimatedMillisDisplay(double millis)
updateEstimatedTimeDisplay
public String[] updateEstimatedTimeDisplay(double calls)
updateEstimatedMinutesDisplay
public String[] updateEstimatedMinutesDisplay(int secs,
int mins,
int hours)
setExpectedNumberOfRCCalls
public void setExpectedNumberOfRCCalls(double l)
setSecondsPerRCCall
public static void setSecondsPerRCCall(double secondsPerRCCall)
describeUserMemoryProportion
public String describeUserMemoryProportion()
setDebugID
public void setDebugID(String id)
fireSettingChanged
public ChangeBroadcaster fireSettingChanged()
- interface ChangeBroadcaster
- Specified by:
fireSettingChanged
in interface ChangeBroadcaster
addChangeListener
public boolean addChangeListener(ChangeListener listener)
- interface ChangeBroadcaster
- Specified by:
addChangeListener
in interface ChangeBroadcaster
removeChangeListener
public boolean removeChangeListener(ChangeListener listener)
- interface ChangeBroadcaster
- Specified by:
removeChangeListener
in interface ChangeBroadcaster
setMillisPerRCCall
public static void setMillisPerRCCall(double millisPerRCCall)
getSecondsPerRCCall
public static double getSecondsPerRCCall()
onClone
public UserObject onClone()
- interface UserObject
- Specified by:
onClone
in interface UserObject
copy
public void copy(RCSettings toCopy)
Copyright 2010 UCLA Automated Reasoning Group