graphlab.gui.plugins.graphgenerator
Class CmnGenerator
java.lang.Object
graphlab.gui.plugins.graphgenerator.CmnGenerator
- All Implemented Interfaces:
- GraphGeneratorExtension, GraphGeneratorInterface, Extension, Parametrizable
public class CmnGenerator
- extends java.lang.Object
- implements GraphGeneratorExtension, Parametrizable
User: Houshmand
|
Field Summary |
int |
m
|
int |
n
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m
public int m
n
public int n
CmnGenerator
public CmnGenerator()
setWorkingGraph
public void setWorkingGraph(Graph g)
- Specified by:
setWorkingGraph in interface GraphGeneratorInterface
getVertices
public Vertex[] getVertices()
- Specified by:
getVertices in interface GraphGeneratorInterface
getEdges
public Edge[] getEdges()
- Specified by:
getEdges in interface GraphGeneratorInterface
getVertexPositions
public java.awt.Point[] getVertexPositions()
- Specified by:
getVertexPositions in interface GraphGeneratorInterface
getName
public java.lang.String getName()
- Specified by:
getName in interface Extension
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in interface Extension
checkParameters
public java.lang.String checkParameters()
- Description copied from interface:
Parametrizable
- checks the parameters and return an error string if the parameter
values are invalid, otherwise it returns null,
also if some other fields should be set after setting the parameters
you can do it in this method
- Specified by:
checkParameters in interface Parametrizable