public class ScoringUtils extends Object
| Constructor and Description |
|---|
ScoringUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <V> com.google.common.base.Function<V,HITS.Scores> |
getHITSUniformRootPrior(Collection<V> roots)
Returns a Function that hub and authority values of 1/
roots.size() to each
element of roots. |
static <V> com.google.common.base.Function<V,Double> |
getUniformRootPrior(Collection<V> roots)
Assigns a probability of 1/
roots.size() to each of the elements of roots. |
public static <V> com.google.common.base.Function<V,Double> getUniformRootPrior(Collection<V> roots)
roots.size() to each of the elements of roots.V - the vertex typeroots - the vertices to be assigned nonzero prior probabilitiesrootspublic static <V> com.google.common.base.Function<V,HITS.Scores> getHITSUniformRootPrior(Collection<V> roots)
roots.size() to each
element of roots.V - the vertex typeroots - the vertices to be assigned nonzero scoresCopyright © 2016. All rights reserved.