org.graffiti.plugins.algorithms.generators
Class AbstractGenerator

java.lang.Object
  extended by org.graffiti.plugin.AbstractParametrizable
      extended by org.graffiti.plugin.algorithm.AbstractAlgorithm
          extended by org.graffiti.plugins.algorithms.generators.AbstractGenerator
All Implemented Interfaces:
Algorithm, Parametrizable
Direct Known Subclasses:
CirculantGraphGenerator, Complete4TreeGraphGenerator, CompleteBinaryTreeGraphGenerator, CompleteGraphGeneratorAlgorithm, CompleteKPartiteGraphGenerator, CompletePentaTreeGraphGenerator, CompleteTernaryTreeGraphGenerator, CompleteTreeGraphGenerator, CycleGraphGenerator, GraphGeneratorHarary, GraphGeneratorHypercube, GraphGeneratorPetersen, GridGeneratorAlgorithm, PlanarMapGenerator, RandomCoordinatesGenerator, RandomFourConnectedPlanarGraphGenerator, RandomGraphGenerator, RandomGraphGeneratorGilbert, RandomGraphGeneratorPreference, RandomGraphGeneratorSmallWorld, RandomTournamentGraphGenerator, RandomTreeGraphGenerator, ThreeDimGridGraphGenerator, WheelGraphGenerator

public abstract class AbstractGenerator
extends AbstractAlgorithm

Abstract class for generators.

Author:
Marek Piorkowski

Field Summary
static String DYNAMIC_CIRCLE
          Dynamic circle form
static String RANDOM
          Random form
static String STATIC_CIRCLE
          Static circle form
 
Method Summary
 Parameter<?>[] getAlgorithmParameters()
           
 void reset()
          Resets the internal state of the algorithm.
 
Methods inherited from class org.graffiti.plugin.algorithm.AbstractAlgorithm
attach, check, getAnimation, supportsAnimation
 
Methods inherited from class org.graffiti.plugin.AbstractParametrizable
copyParameters, getDefaultParameters, getParameters, getUserParameters, saveUserParameters, saveUserParameters, setParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.graffiti.plugin.algorithm.Algorithm
execute
 
Methods inherited from interface org.graffiti.plugin.Parametrizable
getDefaultParameters, getName, getParameters, setParameters
 

Field Detail

DYNAMIC_CIRCLE

public static final String DYNAMIC_CIRCLE
Dynamic circle form

See Also:
Constant Field Values

STATIC_CIRCLE

public static final String STATIC_CIRCLE
Static circle form

See Also:
Constant Field Values

RANDOM

public static final String RANDOM
Random form

See Also:
Constant Field Values
Method Detail

getAlgorithmParameters

public Parameter<?>[] getAlgorithmParameters()
Overrides:
getAlgorithmParameters in class AbstractParametrizable
See Also:
AbstractParametrizable.getAlgorithmParameters()

reset

public void reset()
Description copied from interface: org.graffiti.plugin.algorithm.Algorithm
Resets the internal state of the algorithm.

Specified by:
reset in interface Algorithm
Overrides:
reset in class AbstractAlgorithm
See Also:
Algorithm.reset()


Generated at 2012-05-30 11:01:25 PM CEST