T
- ID typepublic static class HITS.Result<T> extends Tuple3<T,DoubleValue,DoubleValue> implements PrintableResult, UnaryResult<T>
Tuple3
to encapsulate results from the HITS algorithm.Modifier and Type | Field and Description |
---|---|
static int |
HASH_SEED |
Constructor and Description |
---|
Result() |
Modifier and Type | Method and Description |
---|---|
DoubleValue |
getAuthorityScore()
Get the authority score.
|
DoubleValue |
getHubScore()
Get the hub score.
|
T |
getVertexId0()
Get the first vertex ID.
|
int |
hashCode() |
void |
setVertexId0(T value)
Set the first vertex ID.
|
String |
toPrintableString()
A human-readable representation of this value.
|
copy, equals, getArity, getField, of, setField, setFields, toString
getFieldNotNull, getTupleClass
public static final int HASH_SEED
public T getVertexId0()
UnaryResult
getVertexId0
in interface UnaryResult<T>
public void setVertexId0(T value)
UnaryResult
setVertexId0
in interface UnaryResult<T>
value
- new vertex IDpublic DoubleValue getHubScore()
public DoubleValue getAuthorityScore()
public String toPrintableString()
PrintableResult
toPrintableString
in interface PrintableResult
public int hashCode()
hashCode
in class Tuple3<T,DoubleValue,DoubleValue>
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.