Package org.forester.pccx
Class LogBranchLengthBasedScoringMethod
- java.lang.Object
-
- org.forester.pccx.BranchCountingBasedScoringMethod
-
- org.forester.pccx.LogBranchLengthBasedScoringMethod
-
- All Implemented Interfaces:
ScoringMethodForExternalNode
public class LogBranchLengthBasedScoringMethod extends BranchCountingBasedScoringMethod
-
-
Field Summary
Fields Modifier and Type Field Description static doubleMAX_ALLOWED_BL_VALUEstatic doubleMIN_ALLOWED_BL_VALUE
-
Constructor Summary
Constructors Constructor Description LogBranchLengthBasedScoringMethod()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDesciption()This 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 Detail
-
MIN_ALLOWED_BL_VALUE
public static final double MIN_ALLOWED_BL_VALUE
- See Also:
- Constant Field Values
-
MAX_ALLOWED_BL_VALUE
public static final double MAX_ALLOWED_BL_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDesciption
public java.lang.String 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
public double getNormalizationFactor(Phylogeny phylogeny)
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
-
-