Class PropagationSelector<U extends java.io.Serializable,I extends java.io.Serializable,F>
java.lang.Object
es.uam.eps.ir.relison.grid.diffusion.propagation.PropagationSelector<U,I,F>
- Type Parameters:
U
- type of the users.I
- type of the information pieces.F
- type of the user and information pieces features.
public class PropagationSelector<U extends java.io.Serializable,I extends java.io.Serializable,F>
extends java.lang.Object
Class for selecting a propagation mechanism from its configuration.
-
Constructor Summary
Constructors Constructor Description PropagationSelector()
-
Method Summary
Modifier and Type Method Description org.jooq.lambda.tuple.Tuple2<java.lang.String,PropagationMechanism<U,I,F>>
select(java.lang.String name, Parameters params)
Selects and configures a propagation mechanism.
-
Constructor Details
-
PropagationSelector
public PropagationSelector()
-
-
Method Details
-
select
public org.jooq.lambda.tuple.Tuple2<java.lang.String,PropagationMechanism<U,I,F>> select(java.lang.String name, Parameters params)Selects and configures a propagation mechanism.- Parameters:
name
- the name of the propagation mechanism.params
- the parameters of the propagation mechanism.- Returns:
- a pair containing the name and the selected propagation mechanism.
-