T - ID typepublic static class AdamicAdar.Result<T> extends BinaryResultBase<T> implements PrintableResult, Comparable<AdamicAdar.Result<T>>
BinaryResult.MirrorResult<T,RT extends BinaryResult<T>>| Modifier and Type | Field and Description |
|---|---|
static int |
HASH_SEED |
| Constructor and Description |
|---|
Result() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(AdamicAdar.Result<T> o) |
org.apache.flink.types.FloatValue |
getAdamicAdarScore()
Get the Adamic-Adar score, equal to the sum over common neighbors of
the inverse logarithm of degree.
|
int |
hashCode() |
void |
setAdamicAdarScore(org.apache.flink.types.FloatValue adamicAdarScore)
Set the Adamic-Adar score, equal to the sum over common neighbors of
the inverse logarithm of degree.
|
String |
toPrintableString()
A human-readable representation of this value.
|
String |
toString()
Object.toString() must be overridden to write POJO values in the
same form as Tuple. |
getVertexId0, getVertexId1, setVertexId0, setVertexId1, translatepublic static final int HASH_SEED
public org.apache.flink.types.FloatValue getAdamicAdarScore()
public void setAdamicAdarScore(org.apache.flink.types.FloatValue adamicAdarScore)
adamicAdarScore - the Adamic-Adar scorepublic String toString()
ResultBaseObject.toString() must be overridden to write POJO values in the
same form as Tuple. Values are
comma-separated and enclosed in parenthesis, e.g. "(f0,f1)".toString in class ResultBasepublic String toPrintableString()
PrintableResulttoPrintableString in interface PrintableResultpublic int compareTo(AdamicAdar.Result<T> o)
compareTo in interface Comparable<AdamicAdar.Result<T>>Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.