Package org.somox.metrics.basic
Class InterfaceAccessesCount
java.lang.Object
org.somox.metrics.abstractmetrics.AbstractMetric
org.somox.metrics.abstractmetrics.AbstractCountingMetric
org.somox.metrics.basic.InterfaceAccessesCount
- All Implemented Interfaces:
IMetric
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMID()Returns the Metric ID of the Metricprotected voidinternalComputeDirected(ClusteringRelation relationToCompute) Template method to be implemented by subclasses to effectively compute the metric valuebooleanMethods inherited from class org.somox.metrics.abstractmetrics.AbstractCountingMetric
isNormalisedMethods inherited from class org.somox.metrics.abstractmetrics.AbstractMetric
calculateUnion, calculateUnion, checkMetricPostCondition, checkMetricPreCondition, computeDirected, getAccessGraphCache, getComponentToClassHelper, getLaunchConfigurationTab, getMetric, getMetricParameters, initialize
-
Field Details
-
METRIC_ID
-
-
Constructor Details
-
InterfaceAccessesCount
public InterfaceAccessesCount()
-
-
Method Details
-
internalComputeDirected
Description copied from class:AbstractMetricTemplate method to be implemented by subclasses to effectively compute the metric value- Specified by:
internalComputeDirectedin classAbstractMetric- Parameters:
relationToCompute- The relation to compute
-
getMID
Description copied from interface:IMetricReturns the Metric ID of the Metric- Returns:
- the metric id of the instance
-
isCommutative
public boolean isCommutative()- Specified by:
isCommutativein interfaceIMetric- Specified by:
isCommutativein classAbstractMetric- Returns:
- true if the metric gives the same result if firstComponent and secondComponent are swapped
-