graphlab.gui.plugins.graphgenerator
Class CnGenerator

java.lang.Object
  extended by graphlab.gui.plugins.graphgenerator.PnGenerator
      extended by graphlab.gui.plugins.graphgenerator.CnGenerator
All Implemented Interfaces:
GraphGeneratorExtension, GraphGeneratorInterface, Extension, Parametrizable

public class CnGenerator
extends PnGenerator

Author:
azin azadi

Field Summary
 
Fields inherited from class graphlab.gui.plugins.graphgenerator.PnGenerator
n
 
Constructor Summary
CnGenerator()
           
 
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()
           
 
Methods inherited from class graphlab.gui.plugins.graphgenerator.PnGenerator
getVertices, setWorkingGraph
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CnGenerator

public CnGenerator()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface Extension
Overrides:
getName in class PnGenerator

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface Extension
Overrides:
getDescription in class PnGenerator

getEdges

public Edge[] getEdges()
Specified by:
getEdges in interface GraphGeneratorInterface
Overrides:
getEdges in class PnGenerator

getVertexPositions

public java.awt.Point[] getVertexPositions()
Specified by:
getVertexPositions in interface GraphGeneratorInterface
Overrides:
getVertexPositions in class PnGenerator

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
Overrides:
checkParameters in class PnGenerator