Class MetricSelector<U extends java.io.Serializable,I extends java.io.Serializable,P>
java.lang.Object
es.uam.eps.ir.relison.grid.diffusion.metrics.MetricSelector<U,I,P>
- Type Parameters:
U
- type of the users.I
- type of the information pieces.P
- type of the parameters.
public class MetricSelector<U extends java.io.Serializable,I extends java.io.Serializable,P>
extends java.lang.Object
Class for selecting an individual diffusion metric.
-
Constructor Summary
Constructors Constructor Description MetricSelector()
-
Method Summary
Modifier and Type Method Description org.jooq.lambda.tuple.Tuple2<java.lang.String,SimulationMetric<U,I,P>>
select(java.lang.String name, Parameters params)
Selects and configures a metric.
-
Constructor Details
-
MetricSelector
public MetricSelector()
-
-
Method Details
-
select
public org.jooq.lambda.tuple.Tuple2<java.lang.String,SimulationMetric<U,I,P>> select(java.lang.String name, Parameters params)Selects and configures a metric.- Parameters:
name
- the name of the metric.params
- the set of parameters for the metric.- Returns:
- a pair containing the name and the selected metric.
-