Commit History

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