nl.uu.cs.treewidth.input
Class GridGraphGenerator

java.lang.Object
  extended by nl.uu.cs.treewidth.input.GridGraphGenerator
All Implemented Interfaces:
GraphInput

public class GridGraphGenerator
extends java.lang.Object
implements GraphInput


Nested Class Summary
 
Nested classes/interfaces inherited from interface nl.uu.cs.treewidth.input.GraphInput
GraphInput.InputData
 
Constructor Summary
GridGraphGenerator(int x, int y)
           
 
Method Summary
 NGraph<GraphInput.InputData> get()
          Return a graph.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridGraphGenerator

public GridGraphGenerator(int x,
                          int y)
Method Detail

get

public NGraph<GraphInput.InputData> get()
                                 throws InputException
Description copied from interface: GraphInput
Return a graph. Implementing classes will have additional interface to give meaning to this call.

Specified by:
get in interface GraphInput
Returns:
A graph; entirely up to implementing classes what to return.
Throws:
InputException