|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object scpsolver.graph.GraphMiner
public class GraphMiner
Building a graph out of a SparseMatrix
Constructor Summary | |
---|---|
GraphMiner()
|
Method Summary | |
---|---|
Graph |
createRandomGraph(int nodecount)
creates a random graph |
SparseMatrix |
createRandomMatrix(int rowcolCount)
create quadratic random sparse matrix |
static Graph |
getGraph(SparseMatrix matrix)
reads the matrix as an adjacency matrix and produces a graph. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GraphMiner()
Method Detail |
---|
public static Graph getGraph(SparseMatrix matrix)
matrix
- TODO
public Graph createRandomGraph(int nodecount)
nodecount
- - the number of nodes in the graph
public SparseMatrix createRandomMatrix(int rowcolCount)
row
- and col count
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |