Open roarin-roran opened 2 years ago
done :D no empty runs necessary, no powers of 2 either. I skipped straight to a list based implementation to keep it light
what was implemented seems a little different from a tournament tree - based on feedback, have renamed it to hear - this still needs doing
correction - what I implemented was a restricted binary heap based ipq (loser oriented tournament tree). it's got a non-optimal init method, but it's a valid choice for a big O optimal ipq when that's corrected.
it'd be cool to have a tournament tree (winner tree) to run experiments on - but this is done. removing it from its sprint and labelling it small fry, with a new name
replace the dummy IPQ with a tournament tree, which should make its own empy runs if necessary (so the IPQ should accept less than k runs, but may not merge more than k runs)