Commit History

Author SHA1 Message Date
  avadapal 00ff7d1f7b using the more efficient reconstruct() function in the debug code 1 year ago
  avadapal 4baf948729 changed the heap diagram to display the need for MAXINT 1 year ago
  avadapal 9607a3b5c7 removed an unnecessary if (tio.player() !=2) in insert_optimized 1 year ago
  avadapal c0e2eee1b7 made, restore_heap_property, restore_heap_property_optimized, restore_heap_property_at_explicit_index private 1 year ago
  Ian Goldberg 484b357df5 For testing, initialize the heap in a better way 1 year ago
  Ian Goldberg 7ed6c13978 u[0] was never getting initialized in insert_optimized 1 year ago
  Ian Goldberg f1e9e115ac When HEAP_VERBOSE is set, each extract was being run twice 1 year ago
  Ian Goldberg cd2b06a840 Fix bug in optimized insert 1 year ago
  Ian Goldberg 76aa1b8f7f Make verify_parent_children_heaps static 1 year ago
  Ian Goldberg 8a2dddba94 Off-by-one error in MinHeap::verify_heap_property 1 year ago
  Ian Goldberg f594127266 Change insert to return void 1 year ago
  Ian Goldberg 4e3af6b482 Touch up one comment 1 year ago
  Ian Goldberg 2eb068546d Touch up the comments at the top of heap.cpp 1 year ago
  Ian Goldberg ef877e3f74 VALUE_BITS is the default last arg to most mpc_* functions 1 year ago
  Ian Goldberg 2ce7abf1d2 Don't pass argc around unnecessarily 1 year ago
  Ian Goldberg e15fbf8991 Remove set_num_items 1 year ago
  Ian Goldberg de9b4f24fd Touch up the bsearch test 1 year ago
  avadapal bcc8bb75cb changing new [] to vectors 1 year ago
  avadapal 803383c3b9 minor change in the image of insert_optimized 1 year ago
  avadapal f4da769dc3 add and modifying comments describing the functions in heap.hpp and heap.cpp 1 year ago
  avadapal 6a880c1d58 fixed a few indentation issues 1 year ago
  avadapal e7beed0770 other misc changes 1 year ago
  avadapal dc09830d72 moving verify heap in correct ifdefs 1 year ago
  avadapal efddb17351 correcting a comment about print_heap and verify_parent_children_heaps 1 year ago
  avadapal bfd30696e6 fixing indentation in online.cpp 1 year ago
  avadapal b2c04a1fd5 adding an option to work on a presorted array for binary search 1 year ago
  avadapal a4231ea9d1 a few more things in code review part5 1 year ago
  avadapal 034c08976b correcting the handling of argc 1 year ago
  avadapal 6338bdddb9 replacing <1> with <WIDTH> 1 year ago
  avadapal 1e65b4a3dc moving sanity checks to ifdef HEAP_DEBUG 1 year ago