Class ClusteringUtils
java.lang.Object
com.evolveum.midpoint.model.impl.mining.algorithm.cluster.action.util.ClusteringUtils
Utility class for performing clustering operations in the context of role analysis.
Provides methods for creating, preparing, and processing data points used in clustering.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionloadRoleBasedMembershipMultimapData
(@NotNull ModelService modelService, int minProperties, int maxProperties, @Nullable SearchFilterType userQuery, @NotNull Task task, @NotNull OperationResult result) loadRoleBasedMultimapData
(@NotNull ModelService modelService, int minProperties, int maxProperties, @Nullable SearchFilterType userQuery, @NotNull Task task, @NotNull OperationResult result) loadUserBasedMembershipMultimapData
(@NotNull ModelService modelService, int minProperties, int maxProperties, @Nullable SearchFilterType userQuery, @NotNull Task task, @NotNull OperationResult result) loadUserBasedMultimapData
(@NotNull ModelService modelService, int minProperties, int maxProperties, @Nullable SearchFilterType userQuery, @NotNull Task task, @NotNull OperationResult result) prepareDataPoints
(@NotNull com.google.common.collect.ListMultimap<List<String>, String> chunkMap) Prepares data points based on the provided chunk map.prepareDataPointsRoleModeRules
(@NotNull com.google.common.collect.ListMultimap<List<String>, String> chunkMap, @NotNull RoleAnalysisService roleAnalysisService, @NotNull List<RoleAnalysisAttributeDefConvert> roleAnalysisAttributeDefConverts, @NotNull Task task) prepareDataPointsUserModeRules
(@NotNull com.google.common.collect.ListMultimap<List<String>, String> chunkMap, @NotNull RoleAnalysisService roleAnalysisService, @NotNull List<RoleAnalysisAttributeDefConvert> roleAnalysisAttributeDefConverts, @NotNull Task task)
-
Field Details
-
LOAD_DATA_STEP
- See Also:
-
PREPARING_DATA_POINTS_STEP
- See Also:
-
-
Constructor Details
-
ClusteringUtils
public ClusteringUtils()
-
-
Method Details
-
prepareDataPoints
@NotNull public static @NotNull List<DataPoint> prepareDataPoints(@NotNull @NotNull com.google.common.collect.ListMultimap<List<String>, String> chunkMap) Prepares data points based on the provided chunk map.- Parameters:
chunkMap
- A list multimap mapping roles to users.- Returns:
- A list of DataPoint instances.
-
prepareDataPointsUserModeRules
@NotNull public static @NotNull List<DataPoint> prepareDataPointsUserModeRules(@NotNull @NotNull com.google.common.collect.ListMultimap<List<String>, String> chunkMap, @NotNull @NotNull RoleAnalysisService roleAnalysisService, @NotNull @NotNull List<RoleAnalysisAttributeDefConvert> roleAnalysisAttributeDefConverts, @NotNull @NotNull Task task) -
prepareDataPointsRoleModeRules
@NotNull public static @NotNull List<DataPoint> prepareDataPointsRoleModeRules(@NotNull @NotNull com.google.common.collect.ListMultimap<List<String>, String> chunkMap, @NotNull @NotNull RoleAnalysisService roleAnalysisService, @NotNull @NotNull List<RoleAnalysisAttributeDefConvert> roleAnalysisAttributeDefConverts, @NotNull @NotNull Task task) -
loadRoleBasedMultimapData
@NotNull public static @NotNull com.google.common.collect.ListMultimap<List<String>,String> loadRoleBasedMultimapData(@NotNull @NotNull ModelService modelService, int minProperties, int maxProperties, @Nullable @Nullable SearchFilterType userQuery, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result) -
loadRoleBasedMembershipMultimapData
@NotNull public static @NotNull com.google.common.collect.ListMultimap<List<String>,String> loadRoleBasedMembershipMultimapData(@NotNull @NotNull ModelService modelService, int minProperties, int maxProperties, @Nullable @Nullable SearchFilterType userQuery, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result) -
loadUserBasedMultimapData
@NotNull public static @NotNull com.google.common.collect.ListMultimap<List<String>,String> loadUserBasedMultimapData(@NotNull @NotNull ModelService modelService, int minProperties, int maxProperties, @Nullable @Nullable SearchFilterType userQuery, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result) -
loadUserBasedMembershipMultimapData
@NotNull public static @NotNull com.google.common.collect.ListMultimap<List<String>,String> loadUserBasedMembershipMultimapData(@NotNull @NotNull ModelService modelService, int minProperties, int maxProperties, @Nullable @Nullable SearchFilterType userQuery, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result)
-