• We should now be fully online following an overnight outage. Apologies for any inconvenience, we do not expect there to be any further issues.

Super Disorganization that Needs Super Help!!!

BarneyInTechno

Junior Member
May 21, 2001
13
0
0
hi, i have an array of objects in one class, called algorithm. The array of objects is stored in the class, vertex. I have another class called a priority queue which takes the array of objects values from class vertex and puts them into a binary heap. The problem is with my organization. I CANT ACCESS ANYTHING!!! im really lost on this so this is wats up. I dont think i can get the values from vertex into priority queue becuase if i create an object, it wont have the array of objects. So i need to go through the algorithm class, BUT if i go and create an object to the algorithm class, it'll clear away all the values. so the question is. Is it possible for me to create an object to a class without goin initializing the constructor and wiping out all the old values? And if possible, can you tell me a better way to rearrange my classes and information and values? THANKS
 

Cat

Golden Member
Oct 10, 1999
1,059
0
0
Sounds like you're doing some sort of LOD program. Edge/Vertex collapse/decimation?
There are many different ways to approach this. If you'd be a bit clearer as to what your final goal is, more people could help you.