Class UserFeatureGiniComplementConfigurator<U extends java.io.Serializable,I extends java.io.Serializable,F>
java.lang.Object
es.uam.eps.ir.relison.grid.diffusion.metrics.features.global.UserFeatureGiniComplementConfigurator<U,I,F>
- Type Parameters:
U
- type of the users.I
- type of the information pieces.F
- type of the features of the user / information pieces.
- All Implemented Interfaces:
MetricConfigurator<U,I,F>
public class UserFeatureGiniComplementConfigurator<U extends java.io.Serializable,I extends java.io.Serializable,F> extends java.lang.Object implements MetricConfigurator<U,I,F>
Interface for the complement of the Gini coefficient over the distribution of (user, feature) pairs.
- See Also:
UserFeatureGiniComplement
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
PARAM
Identifier for the name of the feature.private static java.lang.String
UNIQUE
Identifier for considering unique user-item pairs or not.private static java.lang.String
USERFEAT
Identifier for the parameter that indicates if a feature refers to a user or to an information piece. -
Constructor Summary
Constructors Constructor Description UserFeatureGiniComplementConfigurator()
-
Method Summary
Modifier and Type Method Description SimulationMetric<U,I,F>
configure(Parameters params)
Configures a information propagation metric.
-
Field Details
-
USERFEAT
private static final java.lang.String USERFEATIdentifier for the parameter that indicates if a feature refers to a user or to an information piece.- See Also:
- Constant Field Values
-
PARAM
private static final java.lang.String PARAMIdentifier for the name of the feature.- See Also:
- Constant Field Values
-
UNIQUE
private static final java.lang.String UNIQUEIdentifier for considering unique user-item pairs or not.- See Also:
- Constant Field Values
-
-
Constructor Details
-
UserFeatureGiniComplementConfigurator
public UserFeatureGiniComplementConfigurator()
-
-
Method Details
-
configure
Description copied from interface:MetricConfigurator
Configures a information propagation metric.- Specified by:
configure
in interfaceMetricConfigurator<U extends java.io.Serializable,I extends java.io.Serializable,F>
- Parameters:
params
- the parameters of the metric.- Returns:
- the diffusion metric.
-