Class RoleAnalysisAlgorithmUtils
java.lang.Object
com.evolveum.midpoint.model.impl.mining.utils.RoleAnalysisAlgorithmUtils
The `RoleAnalysisAlgorithmUtils` class provides utility methods for processing and analyzing data clusters
and outliers in role analysis.
These utilities are used to generate statistics, prepare cluster objects, and detect patterns during role analysis.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
extractAttributeStatistics
(@NotNull RoleAnalysisService roleAnalysisService, @NotNull QName complexType, @NotNull Task task, @NotNull OperationResult result, double density, Set<String> propertiesOidsSet, Set<String> membersOidsSet, ClusterStatistic clusterStatistic, @NotNull AttributeAnalysisCache attributeAnalysisCache, @Nullable List<RoleAnalysisAttributeDef> userAttributeDefSet, @Nullable List<RoleAnalysisAttributeDef> roleAttributeDefSet) @NotNull List<PrismObject<RoleAnalysisClusterType>>
processClusters
(@NotNull RoleAnalysisService roleAnalysisService, @NotNull List<DataPoint> dataPoints, @NotNull List<Cluster<DataPoint>> clusters, @NotNull RoleAnalysisSessionType session, @NotNull AttributeAnalysisCache attributeAnalysisCache, @NotNull RoleAnalysisProgressIncrement handler, @NotNull Task task, @NotNull OperationResult result) Processes the clusters and generates cluster statistics, including the detection of patterns and outliers.static void
resolveAttributeStatistics
(@NotNull ClusterStatistic clusterStatistic, @NotNull AnalysisClusterStatisticType roleAnalysisClusterStatisticType)
-
Constructor Details
-
RoleAnalysisAlgorithmUtils
public RoleAnalysisAlgorithmUtils()
-
-
Method Details
-
processClusters
@NotNull public @NotNull List<PrismObject<RoleAnalysisClusterType>> processClusters(@NotNull @NotNull RoleAnalysisService roleAnalysisService, @NotNull @NotNull List<DataPoint> dataPoints, @NotNull @NotNull List<Cluster<DataPoint>> clusters, @NotNull @NotNull RoleAnalysisSessionType session, @NotNull @NotNull AttributeAnalysisCache attributeAnalysisCache, @NotNull @NotNull RoleAnalysisProgressIncrement handler, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result) Processes the clusters and generates cluster statistics, including the detection of patterns and outliers. This method is used in role analysis to analyze clusters of data points.- Parameters:
roleAnalysisService
- The role analysis service for performing role analysis operations.dataPoints
- The data points representing cluster data.clusters
- The clusters to process.session
- The role analysis session.attributeAnalysisCache
- The attribute analysis cache.handler
- A progress handler to report processing status.task
- The current task.result
- The operation result.- Returns:
- A list of PrismObjects representing the processed clusters.
-
extractAttributeStatistics
public static void extractAttributeStatistics(@NotNull @NotNull RoleAnalysisService roleAnalysisService, @NotNull @NotNull QName complexType, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result, double density, Set<String> propertiesOidsSet, Set<String> membersOidsSet, ClusterStatistic clusterStatistic, @NotNull @NotNull AttributeAnalysisCache attributeAnalysisCache, @Nullable @Nullable List<RoleAnalysisAttributeDef> userAttributeDefSet, @Nullable @Nullable List<RoleAnalysisAttributeDef> roleAttributeDefSet) -
resolveAttributeStatistics
public static void resolveAttributeStatistics(@NotNull @NotNull ClusterStatistic clusterStatistic, @NotNull @NotNull AnalysisClusterStatisticType roleAnalysisClusterStatisticType)
-