- Aug 15, 2004
- 158
- 0
- 0
DISCLAIMER: First and formost, thank you guys for visiting my programming help thread! I'm a student at UCSB in Computer Engineering needing a little help from fellow noobies to veteren JAVA programmers.
I ask lots of questions on the forum regarding programming. Therefore I wanted to stop junking the forum and just make a long thread. I just want to make it clear that I'm not starting this thread in order to get you guys to do my homework. Instead, you will see more questions regarding which methods do what or if there is a method that already exists for my usage, and (hopefully) little debugging questions.
And, in comparison to my TA, ATers answer my questions so much faster than my TA. Plus I usually get multiple suggestions and methods.
So there's my little "disclaimer". Thanks all. If you feel so inclined to help me out keep reading...
*************************************************************************
*************************************************************************
02/15/05
I'm just having a problem understanding and using heaps.
Simulating a doctor's office, I have an ArrayList of Patients with each Patient holding their own set of values, one of which is an integer representing a given priority. I want to create a priority queue so that the patient with the highest priority level can be accessed and modified.
I do not understand how to initialize heaps or manage them in this situation. Any help would be great. Thanks!
I ask lots of questions on the forum regarding programming. Therefore I wanted to stop junking the forum and just make a long thread. I just want to make it clear that I'm not starting this thread in order to get you guys to do my homework. Instead, you will see more questions regarding which methods do what or if there is a method that already exists for my usage, and (hopefully) little debugging questions.
And, in comparison to my TA, ATers answer my questions so much faster than my TA. Plus I usually get multiple suggestions and methods.
So there's my little "disclaimer". Thanks all. If you feel so inclined to help me out keep reading...
*************************************************************************
*************************************************************************
02/15/05
I'm just having a problem understanding and using heaps.
Simulating a doctor's office, I have an ArrayList of Patients with each Patient holding their own set of values, one of which is an integer representing a given priority. I want to create a priority queue so that the patient with the highest priority level can be accessed and modified.
I do not understand how to initialize heaps or manage them in this situation. Any help would be great. Thanks!