edu.ucla.belief.rc2.caching
Class RC2CachingScheme_Collection
Object
RC2CachingScheme_Collection
- All Implemented Interfaces:
- RC2.CachingScheme
public final class RC2CachingScheme_Collection
- extends Object
- implements RC2.CachingScheme
This class generates caching schemes from Collections for RC2 Objects.
name
public final String name
RC2CachingScheme_Collection
public RC2CachingScheme_Collection(String name,
Collection nodesToCache)
- This constructor saves the collection nodesToCache and uses it directly,
it does not make a copy of it or ever modify it.
toString
public String toString()
- Specified by:
toString
in interface RC2.CachingScheme
- Overrides:
toString
in class Object
getCachingScheme
public Collection getCachingScheme(RC2 rc)
- Specified by:
getCachingScheme
in interface RC2.CachingScheme
Copyright 2010 UCLA Automated Reasoning Group