Class NoNormalizer<I>
java.lang.Object
es.uam.eps.ir.relison.links.recommendation.reranking.normalizer.NoNormalizer<I>
- Type Parameters:
I- type of the items.
- All Implemented Interfaces:
Normalizer<I>
public class NoNormalizer<I> extends java.lang.Object implements Normalizer<I>
Normalizer that does not transform the data at all.
-
Constructor Summary
Constructors Constructor Description NoNormalizer() -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface es.uam.eps.ir.relison.links.recommendation.reranking.normalizer.Normalizer
add, norm
-
Constructor Details
-
NoNormalizer
public NoNormalizer()
-
-
Method Details
-
add
Description copied from interface:NormalizerAdds an item-value pair to the list.- Specified by:
addin interfaceNormalizer<I>- Parameters:
i- the item identifier.val- the value of the item.
-
norm
Description copied from interface:NormalizerGiven an item-value pair, it computes the normalized value.- Specified by:
normin interfaceNormalizer<I>- Parameters:
i- the item identifier.value- the value.- Returns:
- the normalized value.
-