edu.ucla.belief.recursiveconditioning
Class CachingGreedy

Object
  extended by CachingScheme
      extended by CachingGreedy

public class CachingGreedy
extends CachingScheme


Nested Class Summary
 
Nested classes/interfaces inherited from class CachingScheme
CachingScheme.RCCreateListener
 
Constructor Summary
CachingGreedy()
           
CachingGreedy(double cacheFactor)
           
 
Method Summary
 void allocateMemory(RC rc, CachingScheme.RCCreateListener listnr)
          Have this CachingScheme allocate the memory for the RC object.
 void allocateMemory(RC rc, long cachesRequested)
          This function ignores the cache factor, and uses the integer cachesRequested as the maximum Acceptable number of caches.
 String toString()
           
 
Methods inherited from class CachingScheme
allocateMemory, allocateMemory, getCacheFactor, setCacheFactor
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CachingGreedy

public CachingGreedy()

CachingGreedy

public CachingGreedy(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).

allocateMemory

public void allocateMemory(RC rc,
                           long cachesRequested)
This function ignores the cache factor, and uses the integer cachesRequested as the maximum Acceptable number of caches.



Copyright 2010 UCLA Automated Reasoning Group