Class AbstractStepwiseMetric
java.lang.Object
org.somox.metrics.abstractmetrics.AbstractMetric
org.somox.metrics.abstractmetrics.AbstractComposedMetric
org.somox.metrics.abstractmetrics.AbstractStepwiseMetric
- All Implemented Interfaces:
IMetric
- Direct Known Subclasses:
ConfigurableStepwiseMetric
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract AbstractStepwiseMetric.BoundAndWeightStruct[]
protected ICompositionFunction
getCompositionFunction
(SoMoXConfiguration somoxConfiguration) Return the function used to compose the set of child metricsboolean
Methods inherited from class org.somox.metrics.abstractmetrics.AbstractComposedMetric
getAllChildMetrics, getChildMetrics, initialize, internalComputeDirected, isCommutative, metricIDToIMetric
Methods inherited from class org.somox.metrics.abstractmetrics.AbstractMetric
calculateUnion, calculateUnion, checkMetricPostCondition, checkMetricPreCondition, computeDirected, getAccessGraphCache, getComponentToClassHelper, getLaunchConfigurationTab, getMetric, getMetricParameters
-
Field Details
-
boundsAndWeights
-
-
Constructor Details
-
AbstractStepwiseMetric
public AbstractStepwiseMetric()
-
-
Method Details
-
getCompositionFunction
Description copied from class:AbstractComposedMetric
Return the function used to compose the set of child metrics- Specified by:
getCompositionFunction
in classAbstractComposedMetric
- Parameters:
somoxConfiguration
- The somox configuration object used to initialize the function- Returns:
- The function used to compute the composed metric
-
isNormalised
public boolean isNormalised()- Returns:
- whether the metric is normalized. If it is normalized, values of this metric must be between 0.0 and 1.0.
-
getBoundsAndWeights
-