Class DistributionSelector<U extends java.io.Serializable,I extends java.io.Serializable,F>
java.lang.Object
es.uam.eps.ir.relison.grid.diffusion.metrics.distributions.DistributionSelector<U,I,F>
- Type Parameters:
U
- type of the users.I
- type of the information pieces.F
- Type of the user / information pieces features.
public class DistributionSelector<U extends java.io.Serializable,I extends java.io.Serializable,F>
extends java.lang.Object
Class for selecting a distribution.
-
Constructor Summary
Constructors Constructor Description DistributionSelector()
-
Method Summary
Modifier and Type Method Description org.jooq.lambda.tuple.Tuple3<java.lang.String,Distribution<U,I,F>,java.util.List<java.lang.Integer>>
select(java.lang.String name, Parameters params, java.util.List<java.lang.Integer> times)
Selects and configures a distribution.
-
Constructor Details
-
DistributionSelector
public DistributionSelector()
-
-
Method Details
-
select
public org.jooq.lambda.tuple.Tuple3<java.lang.String,Distribution<U,I,F>,java.util.List<java.lang.Integer>> select(java.lang.String name, Parameters params, java.util.List<java.lang.Integer> times)Selects and configures a distribution.- Parameters:
name
- the name of the distribution.params
- the parameters for the distribution.times
- a list of the times when the distribution has to be executed.- Returns:
- A triplet containing the name, the distribution and the times.
-