Ocronet.Dynamic.OcroFST.Heap.heapify_down C# (CSharp) Method

heapify_down() private method

Fix the heap invariant broken by increasing the cost of heap node i.
private heapify_down ( int i ) : void
i int
return void
        private void heapify_down(int i)
        {
            while (true)
            {
                int k = rotate(i);
                if (i == k)
                    return;
                i = k;
            }
        }