Package org.apache.mahout.cf.taste.impl.common

Interface Summary
LongPrimitiveIterator Adds notion of iterating over long primitives in the style of an Iterator -- as opposed to iterating over Long.
Retriever<K,V> Implementations can retrieve a value for a given key.
RunningAverage Interface for classes that can keep track of a running average of a series of numbers.
RunningAverageAndStdDev Extends RunningAverage by adding standard deviation too.
SkippingIterator<V> Adds ability to skip ahead in an iterator, perhaps more efficiently than by calling Iterator.next() repeatedly.
 

Class Summary
AbstractLongPrimitiveIterator  
Cache<K,V> An efficient Map-like class which caches values for keys.
CompactRunningAverage Like FullRunningAverage but uses smaller values (short, float) to conserve memory.
CompactRunningAverageAndStdDev Extends CompactRunningAverage to add a running standard deviation computation.
FastByIDMap<V>  
FastIDSet  
FastMap<K,V> This is an optimized Map implementation, based on algorithms described in Knuth's "Art of Computer Programming", Vol.
FullRunningAverage A simple class that can keep track of a running avearage of a series of numbers.
FullRunningAverageAndStdDev Extends FullRunningAverage to add a running standard deviation computation.
InvertedRunningAverage  
InvertedRunningAverageAndStdDev  
LongPrimitiveArrayIterator While long[] is an Iterable, it is not an Iterable<Long>.
RefreshHelper A helper class for implementing Refreshable.
SamplingLongPrimitiveIterator Wraps an Iterator and returns only some subset of the elements that it would, as determined by a sampling rate parameter.
WeightedRunningAverage  
 



Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.