Uses of Interface
nanomunchers.graph.Graph

Packages that use Graph
nanomunchers The Nanomunchers Game and the Core of the Game Logic and Protocol. 
nanomunchers.graph The Graph is the board where the nanomuncher feeds. 
nanomunchers.ui Wide range of classes due to the diverse user interface. 
 

Uses of Graph in nanomunchers
 

Methods in nanomunchers that return Graph
 Graph NanoSystemAnalyzer.getBoard()
           
 

Methods in nanomunchers with parameters of type Graph
 void NanoSystemAnalyzer.setup(int maxBots, Graph nanoField, NanoSimulation ui)
          Initalizes objects related to the system as a whole.
 void NanoGame.newGame(int munchers, Graph graph, boolean isComplete)
          Creates a new game with the following parameters:
 

Constructors in nanomunchers with parameters of type Graph
NanoSimulator(NanoSimulation sim, Graph board, NanoBotWrangler wrangler, java.util.Vector players)
           
 

Uses of Graph in nanomunchers.graph
 

Classes in nanomunchers.graph that implement Graph
 class GridGraph
          A Graph that looks like:
 

Methods in nanomunchers.graph that return Graph
 Graph Node.getGraph()
           
 Graph[] GridGraph.getConnectedComponents()
          Really simple.
static Graph GraphFactory.buildRandomized(Graph src, double chanceNodeRemoved)
          Builds a graph with a random number of edges removed
static Graph GraphFactory.buildFromParts(Node[] nodes, Edge[] edges)
          Creats a new graph from a set of nodes and edges
static Graph GraphFactory.buildGridGraph(int width, int height)
          Builds a graph that resembles a city grid.
static Graph GraphFactory.loadHttpURL(java.lang.String url)
          Attempts to load a graph from anywhere in the web.
static Graph GraphFactory.loadFile(java.lang.String name)
           
 Graph[] Graph.getConnectedComponents()
           
 

Methods in nanomunchers.graph with parameters of type Graph
static Graph GraphFactory.buildRandomized(Graph src, double chanceNodeRemoved)
          Builds a graph with a random number of edges removed
static void GraphFactory.saveFile(java.lang.String name, Graph toSave)
          Saves a given graph to a file.
 

Constructors in nanomunchers.graph with parameters of type Graph
Node(Graph owner, int id, int x, int y)
           
 

Uses of Graph in nanomunchers.ui
 

Methods in nanomunchers.ui that return Graph
 Graph GraphGeneration.getGraph()
           
 Graph GraphEditPanel.getGraph()
          Used to get the product graph.
 

Methods in nanomunchers.ui with parameters of type Graph
 void NanoSimulation.setup(Graph graph)
          Initializes the simulation
 void NanoInputFrame.setGraph(Graph board)
           
 void NanoDecisionPanel.setGraph(Graph graph)
           
 void GraphEditPanel.loadGraph(Graph inGraph)
          Instead of just loading the graph, this method actually creates a new square graph of the same size so a larger range of editing decisions can be made by the user.
 void Drawing.setGraph(Graph g)