public class BranchCountingBasedScoringMethod extends Object implements ScoringMethodForExternalNode
| Constructor and Description |
|---|
BranchCountingBasedScoringMethod() |
| Modifier and Type | Method and Description |
|---|---|
void |
calculateScoreForExternalNode(SortedMap<PhylogenyNode,Double> external_node_scores,
Phylogeny phylogeny,
PhylogenyNode external_node,
CoverageCalculationOptions options)
This calculates the coverage score for one external node.
|
String |
getDesciption()
This returns a short description of this scoring method
|
double |
getNormalizationFactor(Phylogeny phylogeny)
This calculates a normalization factor, so that a normalized score of 1.0
means complete coverage.
|
public void calculateScoreForExternalNode(SortedMap<PhylogenyNode,Double> external_node_scores, Phylogeny phylogeny, PhylogenyNode external_node, CoverageCalculationOptions options)
ScoringMethodForExternalNodecalculateScoreForExternalNode in interface ScoringMethodForExternalNodeexternal_node_scores - SortedMapphylogeny - Phylogeny containing the external nodes to scoreexternal_node - PhylogenyNod for which to calculate the scoreoptions - CoverageCalculationOptionspublic String getDesciption()
ScoringMethodForExternalNodegetDesciption in interface ScoringMethodForExternalNodepublic double getNormalizationFactor(Phylogeny phylogeny)
ScoringMethodForExternalNodegetNormalizationFactor in interface ScoringMethodForExternalNodephylogeny - Phylogeny containing the external nodes to scoreCopyright © 2016. All rights reserved.