org.apache.mahout.clustering.spectral.eigencuts
Class EigencutsSensitivityNode
java.lang.Object
org.apache.mahout.clustering.spectral.eigencuts.EigencutsSensitivityNode
- All Implemented Interfaces:
- org.apache.hadoop.io.Writable
public class EigencutsSensitivityNode
- extends Object
- implements org.apache.hadoop.io.Writable
This class allows the storage of computed sensitivities in an
unordered fashion, instead having each sensitivity track its
own (i, j) coordinate. Thus these objects can be stored as elements
in any list or, in particular, Writable array.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EigencutsSensitivityNode
public EigencutsSensitivityNode(int i,
int j,
double s)
readFields
public void readFields(DataInput in)
throws IOException
- Specified by:
readFields
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
write
public void write(DataOutput out)
throws IOException
- Specified by:
write
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
getRow
public int getRow()
getColumn
public int getColumn()
getSensitivity
public double getSensitivity()
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.