org.apache.mahout.fpm.pfpgrowth.fpgrowth
Class FPTreeDepthCache
java.lang.Object
org.apache.mahout.fpm.pfpgrowth.fpgrowth.FPTreeDepthCache
public class FPTreeDepthCache
- extends java.lang.Object
Caches large FPTree Object
for each level of the recursive
FPGrowth
algorithm to reduce allocation overhead.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FPTreeDepthCache
public FPTreeDepthCache()
getFirstLevelCacheSize
public static int getFirstLevelCacheSize()
setFirstLevelCacheSize
public static void setFirstLevelCacheSize(int firstLevelCacheSize)
getFirstLevelTree
public final FPTree getFirstLevelTree(int attr)
getHits
public final int getHits()
getMisses
public final int getMisses()
getTree
public final FPTree getTree(int level)
Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.