cant wait till I have to translate this into 68HC11... Havent even gotten to the search algorithms yet :|
Type: Posts; User: mike.s
cant wait till I have to translate this into 68HC11... Havent even gotten to the search algorithms yet :|
so I would essentially use this new method to check the vertex before and above? is there no way to move around the ArrayList without creating a new method?
With the new method, I would loop...
I am storing the Vertices and the Edges in ArrayLists
here is my graph class:
package matrix;
import java.util.ArrayList;
public class Graph {
public ArrayList<Vertex> Vertices;
...
you've posted this twice. i helped you with it in your other thread. you should check it out :)
The reason you are entering more then 5 number is because the while loop will go until someone enters a number<1. Instead the while loop should check if numamount < 5. Then have an if statement check...
Hey guys and girls,
Somewhat stuck on this program. Im building an Adjacency Matrix and I cant seem to figure out how to create my buildGraph method. The whole program won't fit here so I have...