Class BatchRecommenderSelectionConfigurator<U extends java.io.Serializable,I extends java.io.Serializable,F>
java.lang.Object
es.uam.eps.ir.relison.grid.diffusion.selection.BatchRecommenderSelectionConfigurator<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.
- All Implemented Interfaces:
SelectionConfigurator<U,I,F>
public class BatchRecommenderSelectionConfigurator<U extends java.io.Serializable,I extends java.io.Serializable,F> extends java.lang.Object implements SelectionConfigurator<U,I,F>
Configures a selection mechanism that propagates a fixed number of own information pieces, and repropagates
pieces which have been received through recommended links with a certain probability, and through not recommended
links with other.
- See Also:
BatchRecommenderSelectionMechanism
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
NUMOWN
Identifier for the number of own pieces of information to propagate.private static java.lang.String
NUMREC
Identifier for the number of received pieces to propagate.private static java.lang.String
NUMREPR
Identifier for the number of propagated pieces of information to repropagate.private static java.lang.String
ORIENTATION
Identifier for the direction propagated information pieces come from.private static java.lang.String
PROB
Identifier for the probability of selecting a piece received by a recommended user. -
Constructor Summary
Constructors Constructor Description BatchRecommenderSelectionConfigurator()
-
Method Summary
Modifier and Type Method Description SelectionMechanism<U,I,F>
configure(Parameters params)
Configures a selection mechanism for the information pieces to propagate.
-
Field Details
-
NUMOWN
private static final java.lang.String NUMOWNIdentifier for the number of own pieces of information to propagate.- See Also:
- Constant Field Values
-
NUMREC
private static final java.lang.String NUMRECIdentifier for the number of received pieces to propagate.- See Also:
- Constant Field Values
-
PROB
private static final java.lang.String PROBIdentifier for the probability of selecting a piece received by a recommended user.- See Also:
- Constant Field Values
-
NUMREPR
private static final java.lang.String NUMREPRIdentifier for the number of propagated pieces of information to repropagate.- See Also:
- Constant Field Values
-
ORIENTATION
private static final java.lang.String ORIENTATIONIdentifier for the direction propagated information pieces come from.- See Also:
- Constant Field Values
-
-
Constructor Details
-
BatchRecommenderSelectionConfigurator
public BatchRecommenderSelectionConfigurator()
-
-
Method Details
-
configure
Description copied from interface:SelectionConfigurator
Configures a selection mechanism for the information pieces to propagate.- Specified by:
configure
in interfaceSelectionConfigurator<U extends java.io.Serializable,I extends java.io.Serializable,F>
- Parameters:
params
- the parameters of the selection mechanism.- Returns:
- the selection mechanism.
-