Class ProportionThresholdSelectionConfigurator<U extends java.io.Serializable,​I extends java.io.Serializable,​F>

java.lang.Object
es.uam.eps.ir.relison.grid.diffusion.selection.ProportionThresholdSelectionConfigurator<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:
SelectionConfigurator<U,​I,​F>

public class ProportionThresholdSelectionConfigurator<U extends java.io.Serializable,​I extends java.io.Serializable,​F>
extends java.lang.Object
implements SelectionConfigurator<U,​I,​F>
Configures a selection mechanism that propagates a fixed number of own information pieces, and repropagates pieces which have been received from (at least) a given proportion of the user neighbors.
See Also:
ProportionThresholdSelectionMechanism
  • Field Summary

    Fields 
    Modifier and Type Field Description
    private static java.lang.String NUMOWN
    Identifier for the number of own elements to propagate.
    private static java.lang.String NUMREPR
    Identifier for the number of propagated pieces of information to repropagate.
    private static java.lang.String ORIENTATION
    Identifier for the direction propagated information pieces come from.
    private static java.lang.String THRESHOLD
    Identifier for the number of elements needed for repropagating an individual piece.
  • Constructor Summary

    Constructors 
    Constructor Description
    ProportionThresholdSelectionConfigurator()  
  • Method Summary

    Modifier and Type Method Description
    SelectionMechanism<U,​I,​F> configure​(Parameters params)
    Configures a selection mechanism for the information pieces to propagate.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait