components/src/main/java/eu/internetofus/common/components/profile_diversity_manager/WeNetProfileDiversityManager.java
/**
   * Calculate the diversity of a set of agents.
   *
   * @param agents to calculate the diversity.
   *
   * @return the future with the agents diversity calculus.
   */
Calculate the diversity of a set of agents.
@param agents to calculate the diversity.

@return the future with the agents diversity calculus.
Calculate the diversity of a set of agents . @param agents to calculate the diversity . @return the future with the agents diversity calculus .
@GenIgnore
  default Future<Diversity> calculateDiversityOf(@NotNull final AgentsData agents) {
    final Promise<JsonObject> promise = Promise.promise();
    this.calculateDiversityOf(agents.toJsonObject(), promise);
    return Model.fromFutureJsonObject(promise.future(), Diversity.class);
  }
@ GenIgnore default Future < Diversity > calculateDiversityOf ( @ NotNull final AgentsData agents ) { final Promise < JsonObject > promise = Promise . promise ( ) ; this . calculateDiversityOf ( agents . toJsonObject ( ) , promise ) ; return Model . fromFutureJsonObject ( promise . future ( ) , Diversity . class ) ; }
Calculate the diversity of a set of agents.
Calculate the diversity of a set of agents .