Package org.forester.pccx
Class BranchLengthBasedScoringMethod
java.lang.Object
org.forester.pccx.BranchCountingBasedScoringMethod
org.forester.pccx.BranchLengthBasedScoringMethod
- All Implemented Interfaces:
ScoringMethodForExternalNode
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThis returns a short description of this scoring methoddouble
getNormalizationFactor
(Phylogeny phylogeny) This calculates a normalization factor, so that a normalized score of 1.0 means complete coverage.Methods inherited from class org.forester.pccx.BranchCountingBasedScoringMethod
calculateScoreForExternalNode
-
Field Details
-
MIN_ALLOWED_BL_VALUE
public static final double MIN_ALLOWED_BL_VALUE- See Also:
-
-
Constructor Details
-
BranchLengthBasedScoringMethod
public BranchLengthBasedScoringMethod()
-
-
Method Details
-
getDesciption
Description copied from interface:ScoringMethodForExternalNode
This returns a short description of this scoring method- Specified by:
getDesciption
in interfaceScoringMethodForExternalNode
- Overrides:
getDesciption
in classBranchCountingBasedScoringMethod
- Returns:
- short description of this scoring method
-
getNormalizationFactor
Description copied from interface:ScoringMethodForExternalNode
This calculates a normalization factor, so that a normalized score of 1.0 means complete coverage.- Specified by:
getNormalizationFactor
in interfaceScoringMethodForExternalNode
- Overrides:
getNormalizationFactor
in classBranchCountingBasedScoringMethod
- Parameters:
phylogeny
- Phylogeny containing the external nodes to score- Returns:
- normalization factor
-