edu.ucla.belief.recursiveconditioning
Class CachingNonOptimalSize

Object
  extended by CachingScheme
      extended by CachingNonOptimalSize

public class CachingNonOptimalSize
extends CachingScheme


Nested Class Summary
static class CachingNonOptimalSize.RCNodeComparator_Size
          Not consistent with equals!
 
Nested classes/interfaces inherited from class CachingScheme
CachingScheme.RCCreateListener
 
Field Summary
 boolean CF_LOW_TO_HIGH
          From brief experimentation, Low_To_High=true tends to do better than false, however, sometimes false can do better.
static CachingNonOptimalSize.RCNodeComparator_Size rcNodeComparator_Size
           
 
Constructor Summary
CachingNonOptimalSize()
           
CachingNonOptimalSize(boolean CF_LOW_TO_HIGH)
           
CachingNonOptimalSize(double cacheFactor)
           
 
Method Summary
 void allocateMemory(RC rc, CachingScheme.RCCreateListener listnr)
          Have this CachingScheme allocate the memory for the RC object.
 String toString()
           
 
Methods inherited from class CachingScheme
allocateMemory, allocateMemory, getCacheFactor, setCacheFactor
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CF_LOW_TO_HIGH

public boolean CF_LOW_TO_HIGH
From brief experimentation, Low_To_High=true tends to do better than false, however, sometimes false can do better.


rcNodeComparator_Size

public static final CachingNonOptimalSize.RCNodeComparator_Size rcNodeComparator_Size
Constructor Detail

CachingNonOptimalSize

public CachingNonOptimalSize(boolean CF_LOW_TO_HIGH)

CachingNonOptimalSize

public CachingNonOptimalSize()

CachingNonOptimalSize

public CachingNonOptimalSize(double cacheFactor)
Method Detail

toString

public String toString()
Overrides:
toString in class CachingScheme

allocateMemory

public void allocateMemory(RC rc,
                           CachingScheme.RCCreateListener listnr)
Description copied from class: CachingScheme
Have this CachingScheme allocate the memory for the RC object.

Specified by:
allocateMemory in class CachingScheme
listnr - Some CachingSchemes use this to return updates to (can be null).


Copyright 2010 UCLA Automated Reasoning Group