public static class SuffixTreeKernel.SelectionScalar extends java.lang.Object implements SuffixTreeKernel.DepthScaler, java.io.Serializable
| Constructor and Description |
|---|
SuffixTreeKernel.SelectionScalar(java.util.BitSet bSet)
Make a new SelectionScalar that masks in different
depths.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getScale(int depth)
Retrieve the scaling factor at a given depth
|
public SuffixTreeKernel.SelectionScalar(java.util.BitSet bSet)
bSet - the mask for which depths to allowpublic double getScale(int depth)
SuffixTreeKernel.DepthScalergetScale in interface SuffixTreeKernel.DepthScalerdepth - word length