|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.biojava.bio.seq.FeatureFilter.ByPairwiseScore
public static final class FeatureFilter.ByPairwiseScore
ByPairwiseScore is used to filter
SimilarityPairFeatures by their score. Features
are accepted if their score falls between the filter's minimum
and maximum values, inclusive. Features are rejected if they
are not SimilarityPairFeatures. The minimum value
accepted must be less than the maximum value.
| Nested Class Summary |
|---|
| Field Summary |
|---|
| Fields inherited from interface org.biojava.bio.seq.FeatureFilter |
|---|
all, leaf, none, top_level |
| Constructor Summary | |
|---|---|
FeatureFilter.ByPairwiseScore(double minScore,
double maxScore)
Creates a new ByPairwiseScore. |
|
| Method Summary | |
|---|---|
boolean |
accept(Feature f)
Accept a Feature if it is an instance of SimilarityPairFeature and its score is <= filter's minimum score and >= filter's maximum score. |
boolean |
equals(Object o)
|
double |
getMaxScore()
getMaxScore returns the maximum score
accepted. |
double |
getMinScore()
getMinScore returns the minimum score
accepted. |
int |
hashCode()
|
boolean |
isDisjoint(FeatureFilter filt)
Returns true if this filter is disjoint from filt - that is, there is no Feature that is accepted by both filters. |
boolean |
isProperSubset(FeatureFilter sup)
Returns true if this filter is a proper subset of sup - that is, for every feature that matches this, it also matches sup. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FeatureFilter.ByPairwiseScore(double minScore,
double maxScore)
ByPairwiseScore.
minScore - a double.maxScore - a double.| Method Detail |
|---|
public boolean accept(Feature f)
accept in interface FeatureFilterf - a Feature.
boolean.public double getMinScore()
getMinScore returns the minimum score
accepted.
double.public double getMaxScore()
getMaxScore returns the maximum score
accepted.
double.public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean isProperSubset(FeatureFilter sup)
OptimizableFilter
isProperSubset in interface OptimizableFiltersup - the potential super set
public boolean isDisjoint(FeatureFilter filt)
OptimizableFilter
isDisjoint in interface OptimizableFilterpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||