Package org.forester.pccx
Class LogBranchLengthBasedScoringMethod
java.lang.Object
org.forester.pccx.BranchCountingBasedScoringMethod
org.forester.pccx.LogBranchLengthBasedScoringMethod
- All Implemented Interfaces:
ScoringMethodForExternalNode
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final doublestatic final double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis returns a short description of this scoring methoddoublegetNormalizationFactor(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:ScoringMethodForExternalNodeThis returns a short description of this scoring method- Specified by:
getDesciptionin interfaceScoringMethodForExternalNode- Overrides:
getDesciptionin classBranchCountingBasedScoringMethod- Returns:
- short description of this scoring method
-
getNormalizationFactor
Description copied from interface:ScoringMethodForExternalNodeThis calculates a normalization factor, so that a normalized score of 1.0 means complete coverage.- Specified by:
getNormalizationFactorin interfaceScoringMethodForExternalNode- Overrides:
getNormalizationFactorin classBranchCountingBasedScoringMethod- Parameters:
phylogeny- Phylogeny containing the external nodes to score- Returns:
- normalization factor
-