Commit History

Autor SHA1 Mensaxe Data
  Ian Goldberg d718958fe5 Some comment touchups hai 1 ano
  Ian Goldberg 03b6562737 XOR with !tio.player() instead of tio.player() hai 1 ano
  Ian Goldberg ccd78ec898 Clarify "smaller index" -> "index of the smaller child" in comments hai 1 ano
  Ian Goldberg 1270ae19f1 Fix two off-by-one errors in MinHeap::print_heap() hai 1 ano
  Ian Goldberg 2d28fb2243 Fix some indentation hai 1 ano
  Ian Goldberg 240beeb078 Touch up a comment hai 1 ano
  Ian Goldberg baddbdd512 Only run verify_heap_property on each extract if run_sanity is 1 hai 1 ano
  avadapal 60b7d27300 few more additional comments hai 1 ano
  avadapal 63f78d1c24 improving the comment on optimized insert hai 1 ano
  avadapal d90d1162f2 removing the unnecessary old_P variable from optimized insert hai 1 ano
  avadapal 00ff7d1f7b using the more efficient reconstruct() function in the debug code hai 1 ano
  avadapal 4baf948729 changed the heap diagram to display the need for MAXINT hai 1 ano
  avadapal 9607a3b5c7 removed an unnecessary if (tio.player() !=2) in insert_optimized hai 1 ano
  Ian Goldberg 484b357df5 For testing, initialize the heap in a better way hai 1 ano
  Ian Goldberg 7ed6c13978 u[0] was never getting initialized in insert_optimized hai 1 ano
  Ian Goldberg f1e9e115ac When HEAP_VERBOSE is set, each extract was being run twice hai 1 ano
  Ian Goldberg cd2b06a840 Fix bug in optimized insert hai 1 ano
  Ian Goldberg 76aa1b8f7f Make verify_parent_children_heaps static hai 1 ano
  Ian Goldberg 8a2dddba94 Off-by-one error in MinHeap::verify_heap_property hai 1 ano
  Ian Goldberg f594127266 Change insert to return void hai 1 ano
  Ian Goldberg 4e3af6b482 Touch up one comment hai 1 ano
  Ian Goldberg 2eb068546d Touch up the comments at the top of heap.cpp hai 1 ano
  Ian Goldberg ef877e3f74 VALUE_BITS is the default last arg to most mpc_* functions hai 1 ano
  Ian Goldberg 2ce7abf1d2 Don't pass argc around unnecessarily hai 1 ano
  Ian Goldberg e15fbf8991 Remove set_num_items hai 1 ano
  avadapal bcc8bb75cb changing new [] to vectors hai 1 ano
  avadapal 803383c3b9 minor change in the image of insert_optimized hai 1 ano
  avadapal f4da769dc3 add and modifying comments describing the functions in heap.hpp and heap.cpp hai 1 ano
  avadapal 6a880c1d58 fixed a few indentation issues hai 1 ano
  avadapal e7beed0770 other misc changes hai 1 ano