Class ConnectedComponentsModularity
java.lang.Object
edu.university.ecs.lab.detection.metrics.models.ConnectedComponentsModularity
Class implementing the modularity metric of partitioning a graph into strongly connected components
-
Field Summary
Modifier and TypeFieldDescriptionprivate final double
Modularity of clusters of SCCprivate final List<Set<Microservice>>
Strongly connected components of the graph. -
Constructor Summary
ConstructorDescriptionConstruct the Strongly Connected Components of the graph and calculate the modularity of such partition -
Method Summary
-
Field Details
-
SCC
Strongly connected components of the graph. -
modularity
private final double modularityModularity of clusters of SCC
-
-
Constructor Details
-
ConnectedComponentsModularity
Construct the Strongly Connected Components of the graph and calculate the modularity of such partition- Parameters:
graph
- Service Dependency Graph to analyze
-