Class NumIterStopConditionConfigurator<U extends java.io.Serializable,I extends java.io.Serializable,F>
java.lang.Object
es.uam.eps.ir.relison.grid.diffusion.stop.NumIterStopConditionConfigurator<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:
StopConditionConfigurator<U,I,F>
public class NumIterStopConditionConfigurator<U extends java.io.Serializable,I extends java.io.Serializable,F> extends java.lang.Object implements StopConditionConfigurator<U,I,F>
Configures an stop condition that finishes the diffusion procedure after a fixed number of iterations.
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
NUMITER
Identifier for the number of iterations. -
Constructor Summary
Constructors Constructor Description NumIterStopConditionConfigurator()
-
Method Summary
Modifier and Type Method Description StopCondition<U,I,F>
getStopCondition(Parameters scgr)
Configures a stop condition from the given parameters.
-
Field Details
-
NUMITER
private static final java.lang.String NUMITERIdentifier for the number of iterations.- See Also:
- Constant Field Values
-
-
Constructor Details
-
NumIterStopConditionConfigurator
public NumIterStopConditionConfigurator()
-
-
Method Details
-
getStopCondition
Description copied from interface:StopConditionConfigurator
Configures a stop condition from the given parameters.- Specified by:
getStopCondition
in interfaceStopConditionConfigurator<U extends java.io.Serializable,I extends java.io.Serializable,F>
- Parameters:
scgr
- the set of parameters for configuring the stop condition.- Returns:
- the configured stop condition.
-