GraphLab Project

graphlab.plugins.graphgenerator.generators
Class PrismGraph

java.lang.Object
  extended by graphlab.plugins.graphgenerator.generators.PrismGraph
All Implemented Interfaces:
BasicExtension, Extension, Parametrizable, GraphGeneratorExtension, GraphGeneratorInterface

public class PrismGraph
extends java.lang.Object
implements GraphGeneratorExtension, Parametrizable


Field Summary
static int n
           
 
Constructor Summary
PrismGraph()
           
 
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
 GraphModel generateGraph()
           
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 GraphPoint[] getVertexPositions()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

n

public static int n
Constructor Detail

PrismGraph

public PrismGraph()
Method Detail

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

getName

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

getDescription

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

getVertexPositions

public GraphPoint[] getVertexPositions()

generateGraph

public GraphModel generateGraph()
Specified by:
generateGraph in interface GraphGeneratorInterface

main

public static void main(java.lang.String[] args)

GraphLab Project