Package org.somox.metrics.dslvisitor
Class ConfigurableStepwiseMetric
java.lang.Object
org.somox.metrics.abstractmetrics.AbstractMetric
org.somox.metrics.abstractmetrics.AbstractComposedMetric
org.somox.metrics.abstractmetrics.AbstractStepwiseMetric
org.somox.metrics.dslvisitor.ConfigurableStepwiseMetric
- All Implemented Interfaces:
IMetric
-
Nested Class Summary
Nested classes/interfaces inherited from class org.somox.metrics.abstractmetrics.AbstractStepwiseMetric
AbstractStepwiseMetric.BoundAndWeightStruct
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractStepwiseMetric.BoundAndWeightStruct[]
protected IMetric[]
getChildMetrics
(Map<MetricID, IMetric> allMetrics) In a subclass override this method and return the subset of metrics in allMetrics which are needed in this composed metric.getMID()
Returns the Metric ID of the MetricMethods inherited from class org.somox.metrics.abstractmetrics.AbstractStepwiseMetric
getCompositionFunction, isNormalised
Methods inherited from class org.somox.metrics.abstractmetrics.AbstractComposedMetric
getAllChildMetrics, initialize, internalComputeDirected, isCommutative, metricIDToIMetric
Methods inherited from class org.somox.metrics.abstractmetrics.AbstractMetric
calculateUnion, calculateUnion, checkMetricPostCondition, checkMetricPreCondition, computeDirected, getAccessGraphCache, getComponentToClassHelper, getLaunchConfigurationTab, getMetric, getMetricParameters
-
Constructor Details
-
ConfigurableStepwiseMetric
-
-
Method Details
-
getBoundsAndWeights
- Specified by:
getBoundsAndWeights
in classAbstractStepwiseMetric
-
getChildMetrics
Description copied from class:AbstractComposedMetric
In a subclass override this method and return the subset of metrics in allMetrics which are needed in this composed metric.- Specified by:
getChildMetrics
in classAbstractComposedMetric
- Parameters:
allMetrics
- The set of all metrics registered in the system via the metric extension point- Returns:
- The subset of all metrics needed in this composed metric
-
getMID
Description copied from interface:IMetric
Returns the Metric ID of the Metric- Returns:
- the metric id of the instance
-