graphlab.gui.plugins.graphgenerator
Class CmnGenerator

java.lang.Object
  extended by 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
           
 
Constructor Summary
CmnGenerator()
           
 
Method Summary
 java.lang.String checkParameters()
          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
 java.lang.String getDescription()
           
 Edge[] getEdges()
           
 java.lang.String getName()
           
 java.awt.Point[] getVertexPositions()
           
 Vertex[] getVertices()
           
 void setWorkingGraph(Graph g)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m

public int m

n

public int n
Constructor Detail

CmnGenerator

public CmnGenerator()
Method Detail

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