|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgraphlab.SparseGraph
graphlab.wrapper.PythonGraph
public class PythonGraph
Wrapper object for python graphs. Allows storing any python (Jython) type in vertex and edges.
| Nested Class Summary | |
|---|---|
static class |
PythonGraph.PythonEdge
|
static class |
PythonGraph.PythonVertex
|
| Field Summary |
|---|
| Fields inherited from class graphlab.SparseGraph |
|---|
vertices |
| Constructor Summary | |
|---|---|
PythonGraph()
|
|
| Method Summary | |
|---|---|
void |
addEdge(int from,
int to,
org.python.core.PyObject value)
|
int |
addVertex(org.python.core.PyObject val)
|
| Methods inherited from class graphlab.SparseGraph |
|---|
addEdge, addVertex, addVertex, checksize, children, finalizeGraph, getEdge, getNumOfVertices, getVertex, getVertices, isColoringEnabled, parents, setVertexColor, toString, vertices |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PythonGraph()
| Method Detail |
|---|
public int addVertex(org.python.core.PyObject val)
public void addEdge(int from,
int to,
org.python.core.PyObject value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||