Class ExternalFeatureGlobalGiniConfigurator<U extends java.io.Serializable,I extends java.io.Serializable,F>
java.lang.Object
es.uam.eps.ir.relison.grid.diffusion.metrics.features.global.ExternalFeatureGlobalGiniConfigurator<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 ExternalFeatureGlobalGiniConfigurator<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 over those features unknown by the users.
- See Also:
ExternalFeatureGlobalGiniComplement
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
FEATURE
Identifier for the parameter nameprivate static java.lang.String
UNIQUE
Identifier for considering unique user-item pairs or not.private static java.lang.String
USERFEATURE
Identifier for the param which identifies if the studied feature is an user or an information piece feature. -
Constructor Summary
Constructors Constructor Description ExternalFeatureGlobalGiniConfigurator()
-
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 parameter name- See Also:
- Constant Field Values
-
USERFEATURE
private static final java.lang.String USERFEATUREIdentifier 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
-
ExternalFeatureGlobalGiniConfigurator
public ExternalFeatureGlobalGiniConfigurator()
-
-
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.
-