T
- ID typepublic static class AdamicAdar.Result<T> extends Edge<T,FloatValue>
Modifier and Type | Field and Description |
---|---|
static int |
HASH_SEED |
Constructor and Description |
---|
Result()
No-args constructor.
|
Modifier and Type | Method and Description |
---|---|
FloatValue |
getAdamicAdarScore()
Get the Adamic-Adar score, equal to the sum over common neighbors of
the inverse logarithm of degree
|
int |
hashCode() |
String |
toVerboseString() |
getSource, getTarget, getValue, reverse, setSource, setTarget, setValue
copy, equals, getArity, getField, of, setField, setFields, toString
getFieldNotNull, getTupleClass
public static final int HASH_SEED
public FloatValue getAdamicAdarScore()
public String toVerboseString()
public int hashCode()
hashCode
in class Tuple3<T,T,FloatValue>
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.