java.lang.Object
com.evolveum.midpoint.model.impl.mining.algorithm.cluster.action.util.ClusteringUtils

public class ClusteringUtils extends Object
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 Details

  • 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)