Class GraphMetricReranker.GraphMetricUserReranker

java.lang.Object
es.uam.eps.ir.relison.links.recommendation.reranking.local.LambdaReranker.LambdaUserReranker
es.uam.eps.ir.relison.links.recommendation.reranking.local.graph.GraphMetricReranker.GraphMetricUserReranker
Direct Known Subclasses:
DirectGraphMetricReranker.DirectGraphMetricUserReranker, InverseGraphMetricReranker.DirectGraphMetricUserReranker
Enclosing class:
GraphMetricReranker<U>

protected abstract class GraphMetricReranker.GraphMetricUserReranker
extends LambdaReranker.LambdaUserReranker
The user reranker.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected Graph<U> graph
    The values.
    protected GraphMetric<U> metric
    The graph metric

    Fields inherited from class es.uam.eps.ir.relison.links.recommendation.reranking.local.LambdaReranker.LambdaUserReranker

    novMap, novStats, relStats
  • Constructor Summary

    Constructors 
    Constructor Description
    GraphMetricUserReranker​(es.uam.eps.ir.ranksys.core.Recommendation<U,​U> recommendation, int maxLength, Graph<U> graph, GraphMetric<U> metric)
    Constructor.
  • Method Summary

    Modifier and Type Method Description
    protected void update​(org.ranksys.core.util.tuples.Tuple2od<U> bestItemValue)  

    Methods inherited from class es.uam.eps.ir.relison.links.recommendation.reranking.local.LambdaReranker.LambdaUserReranker

    nov, selectItem, value

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • GraphMetricUserReranker

      public GraphMetricUserReranker​(es.uam.eps.ir.ranksys.core.Recommendation<U,​U> recommendation, int maxLength, Graph<U> graph, GraphMetric<U> metric)
      Constructor.
      Parameters:
      recommendation - the recommendation to rerank.
      maxLength - the maximum length of the definitive ranking.
      graph - the network.
      metric - the metric to promote.
  • Method Details

    • update

      protected void update​(org.ranksys.core.util.tuples.Tuple2od<U> bestItemValue)