Class RecommendedSightConfigurator<U extends java.io.Serializable,I extends java.io.Serializable,F>
java.lang.Object
es.uam.eps.ir.relison.grid.diffusion.sight.RecommendedSightConfigurator<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:
SightConfigurator<U,I,F>
public class RecommendedSightConfigurator<U extends java.io.Serializable,I extends java.io.Serializable,F> extends java.lang.Object implements SightConfigurator<U,I,F>
Configures a sight mechanism that makes users observe pieces coming from recommended links with a certain probability
and pieces coming from the original network links with another.
- See Also:
RecommendedSightMechanism
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
ORIENTATION
Identifier for the direction propagated information pieces come from.private static java.lang.String
PROBREC
Identifier for the probability of observing pieces of information from the recommended linksprivate static java.lang.String
PROBTRAIN
Identifier for the probability of observing pieces of information from training links. -
Constructor Summary
Constructors Constructor Description RecommendedSightConfigurator()
-
Method Summary
Modifier and Type Method Description SightMechanism<U,I,F>
configure(Parameters params)
Configures a sight mechanism for the information pieces received by an user.
-
Field Details
-
PROBREC
private static final java.lang.String PROBRECIdentifier for the probability of observing pieces of information from the recommended links- See Also:
- Constant Field Values
-
PROBTRAIN
private static final java.lang.String PROBTRAINIdentifier for the probability of observing pieces of information from training links.- 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
-
RecommendedSightConfigurator
public RecommendedSightConfigurator()
-
-
Method Details
-
configure
Description copied from interface:SightConfigurator
Configures a sight mechanism for the information pieces received by an user.- Specified by:
configure
in interfaceSightConfigurator<U extends java.io.Serializable,I extends java.io.Serializable,F>
- Parameters:
params
- the parameters of the mechanism.- Returns:
- the sight mechanism.
-