public class SimplePruner<K> extends Object implements PrunedCounts.Pruner<K>
Modifier and Type | Class and Description |
---|---|
static class |
SimplePruner.Provider |
Constructor and Description |
---|
SimplePruner(int minCount,
int maxRank,
double minFrac) |
Modifier and Type | Method and Description |
---|---|
PrunedCounts<K> |
prune(Map<K,Integer> allCounts)
Prunes counts down.
|
public PrunedCounts<K> prune(Map<K,Integer> allCounts)
prune
in interface PrunedCounts.Pruner<K>
allCounts
- All counts.Copyright © 2018. All rights reserved.