Class LODMesh.PriorityQueue
- java.lang.Object
-
- gov.nih.mipav.view.renderer.WildMagic.Decimate.LODMesh.PriorityQueue
-
- Enclosing class:
- LODMesh
class LODMesh.PriorityQueue extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) class
LODMesh.PriorityQueue.HeapNode
-
Field Summary
Fields Modifier and Type Field Description (package private) int[]
hindex
(package private) LODMesh.PriorityQueue.HeapNode[]
hlist
(package private) int
hpointerM
(package private) int
nodeN
-
Constructor Summary
Constructors Constructor Description PriorityQueue(int dv)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
downheap(int i)
private LODMesh.PriorityQueue.HeapNode
get()
double
getmax()
void
HeapUpdate(int idx, double w)
int
Pop()
void
Put(int idx, double w)
private void
swap(int i, int j)
private void
upheap(int i)
-
-
-
Field Detail
-
hlist
LODMesh.PriorityQueue.HeapNode[] hlist
-
hindex
int[] hindex
-
nodeN
int nodeN
-
hpointerM
int hpointerM
-
-
Method Detail
-
getmax
public double getmax()
-
swap
private void swap(int i, int j)
-
upheap
private void upheap(int i)
-
downheap
private void downheap(int i)
-
Put
public void Put(int idx, double w)
-
get
private LODMesh.PriorityQueue.HeapNode get()
-
HeapUpdate
public void HeapUpdate(int idx, double w)
-
Pop
public int Pop()
-
-