Package org.forester.pccx
Class LogBranchLengthBasedScoringMethod
java.lang.Object
org.forester.pccx.BranchCountingBasedScoringMethod
org.forester.pccx.LogBranchLengthBasedScoringMethod
- All Implemented Interfaces:
ScoringMethodForExternalNode
-
Field Summary
Modifier and TypeFieldDescriptionstatic final double
static final double
-
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:
-
MAX_ALLOWED_BL_VALUE
public static final double MAX_ALLOWED_BL_VALUE- See Also:
-
-
Constructor Details
-
LogBranchLengthBasedScoringMethod
public LogBranchLengthBasedScoringMethod()
-
-
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
-