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
Constructors -
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, isNormalisedMethods inherited from class org.somox.metrics.abstractmetrics.AbstractComposedMetric
getAllChildMetrics, initialize, internalComputeDirected, isCommutative, metricIDToIMetricMethods 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:
getBoundsAndWeightsin classAbstractStepwiseMetric
-
getChildMetrics
Description copied from class:AbstractComposedMetricIn a subclass override this method and return the subset of metrics in allMetrics which are needed in this composed metric.- Specified by:
getChildMetricsin 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:IMetricReturns the Metric ID of the Metric- Returns:
- the metric id of the instance
-