Class FeatureIndividualGiniComplementConfigurator<U extends java.io.Serializable,I extends java.io.Serializable,F>
java.lang.Object
es.uam.eps.ir.relison.grid.diffusion.metrics.features.indiv.FeatureIndividualGiniComplementConfigurator<U,I,F>
- Type Parameters:
U
- type of the users.I
- type of the information pieces.F
- type of the user / information features.
- All Implemented Interfaces:
MetricConfigurator<U,I,F>
public class FeatureIndividualGiniComplementConfigurator<U extends java.io.Serializable,I extends java.io.Serializable,F> extends java.lang.Object implements MetricConfigurator<U,I,F>
Configures a metric that measures the complement of the Gini coefficient of the features that a single user has received.
- See Also:
FeatureIndividualGini
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
FEATURE
Identifier for the feature nameprivate static java.lang.String
UNIQUE
Identifier for considering unique user-item pairs or not.private static java.lang.String
USERFEAT
Identifier for the param which identifies if the studied feature is an user or an information piece feature. -
Constructor Summary
Constructors Constructor Description FeatureIndividualGiniComplementConfigurator()
-
Method Summary
Modifier and Type Method Description SimulationMetric<U,I,F>
configure(Parameters params)
Configures a information propagation metric.
-
Field Details
-
FEATURE
private static final java.lang.String FEATUREIdentifier for the feature name- See Also:
- Constant Field Values
-
USERFEAT
private static final java.lang.String USERFEATIdentifier for the param which identifies if the studied feature is an user or an information piece 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
-
FeatureIndividualGiniComplementConfigurator
public FeatureIndividualGiniComplementConfigurator()
-
-
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.
-