public static class SuffixTreeKernel.SelectionScalar extends Object implements SuffixTreeKernel.DepthScaler, Serializable
Constructor and Description |
---|
SelectionScalar(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 SelectionScalar(BitSet bSet)
bSet
- the mask for which depths to allowpublic double getScale(int depth)
SuffixTreeKernel.DepthScaler
getScale
in interface SuffixTreeKernel.DepthScaler
depth
- word lengthCopyright © 2020 BioJava. All rights reserved.