Class AbstractIndividualSampler<U>

java.lang.Object
es.uam.eps.ir.relison.links.data.letor.sampling.AbstractIndividualSampler<U>
Type Parameters:
U - Type of the users.
All Implemented Interfaces:
IndividualSampler<U>
Direct Known Subclasses:
AllSampler, DistanceTwoIndividualSampler, DistanceTwoLinkPredictionIndividualSampler, LinkPredictionSampler, RecommenderIndividualSampler

public abstract class AbstractIndividualSampler<U>
extends java.lang.Object
implements IndividualSampler<U>
Abstract implementation of the IndividualSampler interface.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected Graph<U> graph
    The graph to sample.
  • Constructor Summary

    Constructors 
    Constructor Description
    AbstractIndividualSampler​(Graph<U> graph)
    Constructor.
  • Method Summary

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface es.uam.eps.ir.relison.links.data.letor.sampling.IndividualSampler

    sampleUsers
  • Field Details

    • graph

      protected final Graph<U> graph
      The graph to sample.
  • Constructor Details