public class SubsystemComponent extends AbstractMetric
| Constructor and Description |
|---|
SubsystemComponent() |
| Modifier and Type | Method and Description |
|---|---|
MetricID |
getMID()
Returns the Metric ID of the Metric
|
void |
initialize(Root gastModel,
SoMoXConfiguration somoxConfiguration,
java.util.Map<MetricID,IMetric> allMetrics,
<any> accessGraph,
ComponentToImplementingClassesHelper componentToImplementingClassesHelper)
Initializes the Metric.
|
boolean |
isCommutative() |
boolean |
isNormalised() |
computeDirected, getLaunchConfigurationTab, getMetricParameterspublic static final MetricID METRIC_ID
public void initialize(Root gastModel, SoMoXConfiguration somoxConfiguration, java.util.Map<MetricID,IMetric> allMetrics, <any> accessGraph, ComponentToImplementingClassesHelper componentToImplementingClassesHelper)
IMetricinitialize in interface IMetricinitialize in class AbstractMetricgastModel - the Root object of the GAST modelsomoxConfiguration - the configuration of the metric computationallMetrics - A map of all metrics available in the running SoMoX instance, maps metricID to
Metric implementationaccessGraph - A graph which contains the number of accesses from the source GASTClass to the
target GASTClass for all edges in thecomponentToImplementingClassesHelper - Helper initialized graphpublic boolean isCommutative()
isCommutative in interface IMetricisCommutative in class AbstractMetricpublic MetricID getMID()
public boolean isNormalised()