# Search:

Type: Posts; User: MiniatureBeast

1. ## Thread: Dijstra's Algorithm Problems

by MiniatureBeast
Replies
2
Views
23

### Dijstra's Algorithm Problems

Hey guys, So I'm trying write a dijstra's implementation in java. First off, here is the algorithm:

package lab3;

import java.util.HashMap;
import java.util.Stack;

/**
* Compute shortest...
2. ## Thread: Dijstra's Algorithm Problems

by MiniatureBeast
Replies
2
Views
23

### Dijstra's Algorithm Problems

Hey guys, So I'm trying write a dijstra's implementation in java. First off, here is the algorith:

package lab3;

import java.util.HashMap;
import java.util.Stack;

/**
* Compute shortest...
3. ## Thread: Priority Queue in Java which keeps track of each node's position

by MiniatureBeast
Replies
6
Views
17

### Re: Priority Queue in Java which keeps track of each node's position

Sure, here is the test that I'm failing:

@Test
public void basicHandleAndDecreaseTest() {
PriorityQueue<String> q = new PriorityQueue<String>();
Map<String, Handle>...
4. ## Thread: Priority Queue in Java which keeps track of each node's position

by MiniatureBeast
Replies
6
Views
17

### Priority Queue in Java which keeps track of each node's position

so I'm working on a lab for my class. I need to create a Priority Queue in Java using an array list. The kicker is that each node has to have a "handle" which is just an object which contains the...
5. ## Thread: How to make Java determine if a values is an integer or not.

by MiniatureBeast
Replies
5
Views
5,566

### Re: How to make Java determine if a values is an integer or not.

Thanks I'll look into this. Thanks to everyone else as well :)
6. ## Thread: How to make Java determine if a values is an integer or not.

by MiniatureBeast
Replies
5
Views
5,566

### How to make Java determine if a values is an integer or not.

In my code I'm trying to test if a value is an integer or not. If the entered value is an integer, than I let the user proceed; However, If it isn't the user must go back and enter a valid value. I...
Results 1 to 6 of 6