|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjml.graph.cut.GraphCut
public abstract class GraphCut
Field Summary | |
---|---|
private int |
K
Number of clusters on the graph. |
private org.apache.commons.math.linear.RealMatrix |
Q
Cluster indicator matrix. |
private org.apache.commons.math.linear.RealMatrix |
W
Weight matrix on the graph. |
Constructor Summary | |
---|---|
GraphCut(int K)
Constructor. |
Method Summary | |
---|---|
abstract void |
cut()
Do graph cut/clustering. |
org.apache.commons.math.linear.RealMatrix |
getIndicatorMatrix()
Get the N x K cluster indicator matrix. |
int |
getK()
Get the number of clusters. |
org.apache.commons.math.linear.RealMatrix |
getWeightMatrix()
Get the weight matrix on the graph. |
abstract void |
initialize()
Initialization. |
void |
setK(int K)
Set the number of clusters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int K
private org.apache.commons.math.linear.RealMatrix W
private org.apache.commons.math.linear.RealMatrix Q
Constructor Detail |
---|
public GraphCut(int K)
K
- number of clusters on the graph.Method Detail |
---|
public abstract void initialize()
public abstract void cut()
public org.apache.commons.math.linear.RealMatrix getWeightMatrix()
public org.apache.commons.math.linear.RealMatrix getIndicatorMatrix()
public int getK()
public void setK(int K)
K
- number of clusters to be set on the graph
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |