Class ComponentDetectionByClustering
java.lang.Object
org.somox.analyzer.simplemodelanalyzer.detection.ComponentDetectionByClustering
- All Implemented Interfaces:
IDetectionStrategy
Detection strategy for composite component which relies on clustering of
metrics computed for pair-wise component relationships
-
Constructor Summary
ConstructorDescriptionComponentDetectionByClustering
(Root kdmModelToAnalyze, List<ComponentImplementingClassesLink> initialComponentCandidates, SoMoXConfiguration somoxConfig) -
Method Summary
Modifier and TypeMethodDescriptionstartDetection
(ComponentBuilder pcmBuilder, AbstractMoxConfiguration somoxConfig, IProgressMonitor progressMonitor, List<ComponentImplementingClassesLink> componentCandidates)
-
Constructor Details
-
ComponentDetectionByClustering
public ComponentDetectionByClustering(Root kdmModelToAnalyze, List<ComponentImplementingClassesLink> initialComponentCandidates, SoMoXConfiguration somoxConfig)
-
-
Method Details
-
startDetection
public List<ComponentImplementingClassesLink> startDetection(ComponentBuilder pcmBuilder, AbstractMoxConfiguration somoxConfig, IProgressMonitor progressMonitor, List<ComponentImplementingClassesLink> componentCandidates) throws ModelAnalyzerException - Specified by:
startDetection
in interfaceIDetectionStrategy
- Throws:
ModelAnalyzerException
-