Class BidirectionalRumorSpreadingModelConfigurator<U extends java.io.Serializable,I extends java.io.Serializable,F>
java.lang.Object
es.uam.eps.ir.relison.grid.diffusion.protocol.BidirectionalRumorSpreadingModelConfigurator<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:
ProtocolConfigurator<U,I,F>
public class BidirectionalRumorSpreadingModelConfigurator<U extends java.io.Serializable,I extends java.io.Serializable,F> extends java.lang.Object implements ProtocolConfigurator<U,I,F>
Configures a bidirectional rumor spreading diffusion protocol.
- See Also:
BidirectionalRumorSpreadingModelProtocol
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
NUMOWN
Identifier for the number of own information pieces to propagate each iteration.private static java.lang.String
NUMREC
Identifier for the number of received information pieces to propagate each iteration.private static java.lang.String
WAITTIME
Identifier for the minimum time between the same neighborhood selections. -
Constructor Summary
Constructors Constructor Description BidirectionalRumorSpreadingModelConfigurator()
-
Method Summary
-
Field Details
-
NUMREC
private static final java.lang.String NUMRECIdentifier for the number of received information pieces to propagate each iteration.- See Also:
- Constant Field Values
-
NUMOWN
private static final java.lang.String NUMOWNIdentifier for the number of own information pieces to propagate each iteration.- See Also:
- Constant Field Values
-
WAITTIME
private static final java.lang.String WAITTIMEIdentifier for the minimum time between the same neighborhood selections.- See Also:
- Constant Field Values
-
-
Constructor Details
-
BidirectionalRumorSpreadingModelConfigurator
public BidirectionalRumorSpreadingModelConfigurator()
-
-
Method Details
-
configure
Description copied from interface:ProtocolConfigurator
Configures a protocol.- Specified by:
configure
in interfaceProtocolConfigurator<U extends java.io.Serializable,I extends java.io.Serializable,F>
- Parameters:
params
- the parameters for configuring the protocol.- Returns:
- the protocol.
-