Class FeatureGlobalGiniComplementConfigurator<U extends java.io.Serializable,I extends java.io.Serializable,F>
java.lang.Object
es.uam.eps.ir.relison.grid.diffusion.metrics.features.global.FeatureGlobalGiniComplementConfigurator<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 FeatureGlobalGiniComplementConfigurator<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 Gini complement over the features which have been received by the users.
- See Also:
FeatureGlobalGiniComplement
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.StringFEATUREIdentifier for the feature nameprivate static java.lang.StringUNIQUEIdentifier for considering unique user-item pairs or not.private static java.lang.StringUSERFEATIdentifier for the param which identifies if the studied feature is an user or an information piece feature. -
Constructor Summary
Constructors Constructor Description FeatureGlobalGiniComplementConfigurator() -
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
-
FeatureGlobalGiniComplementConfigurator
public FeatureGlobalGiniComplementConfigurator()
-
-
Method Details
-
configure
Description copied from interface:MetricConfiguratorConfigures a information propagation metric.- Specified by:
configurein interfaceMetricConfigurator<U extends java.io.Serializable,I extends java.io.Serializable,F>- Parameters:
params- the parameters of the metric.- Returns:
- the diffusion metric.
-