public class HITSNode extends Object implements org.apache.hadoop.io.Writable
Representation of a Hubs and Authorities Node for HITS algorithm computation
lets try git stuff
| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE_AUTH_COMPLETE |
static int |
TYPE_AUTH_MASS |
static int |
TYPE_AUTH_STRUCTURE |
static int |
TYPE_HUB_COMPLETE |
static int |
TYPE_HUB_MASS |
static int |
TYPE_HUB_STRUCTURE |
static int |
TYPE_NODE_COMPLETE |
static int |
TYPE_NODE_MASS |
static int |
TYPE_NODE_STRUCTURE |
| Constructor and Description |
|---|
HITSNode() |
| Modifier and Type | Method and Description |
|---|---|
float |
getARank() |
float |
getHRank() |
tl.lin.data.array.ArrayListOfIntsWritable |
getInlinks() |
int |
getNodeId() |
tl.lin.data.array.ArrayListOfIntsWritable |
getOutlinks() |
int |
getType() |
void |
readFields(DataInput in)
Deserializes this object.
|
void |
setARank(float r) |
void |
setHRank(float r) |
void |
setInlinks(tl.lin.data.array.ArrayListOfIntsWritable l) |
void |
setNodeId(int n) |
void |
setOutlinks(tl.lin.data.array.ArrayListOfIntsWritable l) |
void |
setType(int type) |
String |
toString() |
void |
write(DataOutput out)
Serializes this object.
|
public static final int TYPE_HUB_COMPLETE
public static final int TYPE_HUB_MASS
public static final int TYPE_HUB_STRUCTURE
public static final int TYPE_AUTH_COMPLETE
public static final int TYPE_AUTH_MASS
public static final int TYPE_AUTH_STRUCTURE
public static final int TYPE_NODE_COMPLETE
public static final int TYPE_NODE_MASS
public static final int TYPE_NODE_STRUCTURE
public float getHRank()
public float getARank()
public void setHRank(float r)
public void setARank(float r)
public int getNodeId()
public void setNodeId(int n)
public tl.lin.data.array.ArrayListOfIntsWritable getInlinks()
public void setInlinks(tl.lin.data.array.ArrayListOfIntsWritable l)
public tl.lin.data.array.ArrayListOfIntsWritable getOutlinks()
public void setOutlinks(tl.lin.data.array.ArrayListOfIntsWritable l)
public int getType()
public void setType(int type)
public void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.Writablein - source for raw byte representationIOExceptionpublic void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.Writableout - where to write the raw byte representationIOExceptionCopyright © 2015. All rights reserved.