Commit Graph

59 Commits

Author SHA1 Message Date
Shaun Reed 348586ec38 Update object graph implementation to track node discover and finish time
+ Allows traversal and topological sort algorithms to show examples from MIT Algorithms more accurately
2021-07-01 09:30:35 -04:00
Shaun Reed 5d37db1ce2 Add example of object graph traversal algorithms
+ Using pseudocode examples from MIT Intro to Algorithms
2021-06-28 10:12:19 -04:00
Shaun Reed 21ed349c39 Fix array index offset bug in simple-graph traversal examples
+ Add comments to explain when to offset and when to use key values
2021-06-28 06:56:58 -04:00
Shaun Reed 1fc34d2dd4 Add example of simple graph algorithms
+ Using pseudocode examples from MIT Intro to Algorithms
2021-06-19 16:20:29 -04:00
Shaun Reed 8f211b1603 Update datastructs/binarysearchtree example
+ Utilize copy-swap idiom, miscellaneous clean-up of conditions and return values
2021-06-09 11:00:02 -04:00
Shaun Reed a8b6627135 Update example of red-black and binary tree algorithms
+ Use copy-swap idiom for assignment operators
+ Update and organize CMakeLists subdirectories for algorithm examples
2021-06-09 10:16:24 -04:00
Shaun Reed 202953de49 Add examples of red-black tree algorithms
+ Using pseudocode examples from MIT Introduction to Algorithms
2021-06-08 20:48:36 -04:00
Shaun Reed f45e479603 Initial commit for working on red-black tree algorithms 2021-06-08 20:45:44 -04:00
Shaun Reed 49eb64f320 Add examples of binary search tree algorithms
+ Using the pseudocode examples from MIT introduction to algorithms
2021-06-05 13:00:42 -04:00
Shaun Reed c2300d7121 Rearrange graphics projects into subdirectory 2021-05-30 02:18:09 -04:00
Shaun Reed 255d7efe9f Add example for radix sort 2021-05-29 14:49:04 -04:00
Shaun Reed de0d706f98 Add example for bucket sort 2021-05-29 14:49:04 -04:00
Shaun Reed a7d11c559e Add example for counting sort 2021-05-29 14:49:04 -04:00
Shaun Reed 33843eaaa1 Add example for quick sort 2021-05-26 14:19:33 -04:00
Shaun Reed c53277b97c Remove unused parameter in heap sort example 2021-05-26 14:17:56 -04:00
Shaun Reed ef5f952519 Add example for heap sort 2021-05-25 19:07:23 -04:00
Shaun Reed 2f94a59567 Add example for bubble sort 2021-05-25 09:57:16 -04:00
Shaun Reed 8f70278ac6 Add example for insertion sort 2021-05-25 09:32:26 -04:00
Shaun Reed 82effe5203 Reorganize cpp/opengl-cmake
+ So project structure is closer to that of cpp/sdl-cmake
2021-05-24 17:37:27 -04:00
Shaun Reed 006f77ad95 Add cpp/opengl-cmake example for basic OpenGL project with CMake 2021-05-24 17:01:01 -04:00
Shaun Reed 0933f9bdf5 Update cpp/sdl-cmake example
+ Clean CMakeLists of unused options
+ Reorganize the linking of SDL to custom lib-sdl-test library
+ Improve Shape and Rectangle to better utilize inheritance
2021-05-24 17:00:13 -04:00
Shaun Reed 16ac2046fa Update OpenGL standalone example
+ Remove unused directories
+ Update cpp/README.txt to include new directories
2021-05-24 13:14:32 -04:00
Shaun Reed b2bdd62fb2 Add example for cpp/algorithms/sorting/merge 2021-05-24 12:11:33 -04:00
Shaun Reed fa4407e74a Update selection sort example 2021-05-23 11:03:59 -04:00
Shaun Reed 51bf18980b Rename source file in prototype pattern
+ Correct CMakeLists.txt in abstract-factory pattern
+ Commit name change for author of figlet fonts :)
2021-05-21 12:34:18 -04:00
Shaun Reed 8177d4c191 Add example of visitor pattern in C++ 2021-05-11 20:56:05 -04:00
Shaun Reed 53ee3df451 Add example of observer pattern in C++ 2021-05-11 19:58:23 -04:00
Shaun Reed 1c78867d91 add example of state pattern in C++ 2021-05-11 18:53:43 -04:00
Shaun Reed d7a25a0efc Add example of prototype pattern in C++ 2021-05-11 17:40:21 -04:00
Shaun Reed 912cb47dcf Add example of adapter pattern in C++ 2021-05-11 16:57:42 -04:00
Shaun Reed da9d26cf15 Add example of bridge pattern in C++ 2021-05-11 16:03:03 -04:00
Shaun Reed baabfa439a Add abstract-factory pattern example 2021-05-11 15:42:08 -04:00
Shaun Reed 54426cbe5b Add factory example 2021-05-11 15:04:58 -04:00
Shaun Reed 9bb2f9867d Add example for classic singleton 2021-05-11 12:54:16 -04:00
Shaun Reed 248e48d5c9 Add subdirectory for practicing design patterns in C++
+ Add example for singleton
2021-05-11 11:56:46 -04:00
Shaun Reed 8646cd51ea Add CMakeLists for algorithms subdirectories 2021-05-04 23:07:39 -04:00
Shaun Reed 8817a594be Add cmake project files for cpp/ directory and all relevant subdirecctories
+ Add Makefiles generated by CMake JIC make is preferred
+ Update cmake version, header comments, and project descriptions
2021-04-28 00:10:47 -04:00
Shaun Reed d4f6fb9d41 Add new cpp/algorithms directory, include basic selection sort example 2021-01-17 17:04:20 -05:00
Shaun Reed 245e04e083 Update READMEs 2020-11-25 07:06:48 -05:00
Shaun Reed e4ccaf4bd9 Update READMEs 2020-11-23 14:45:00 -05:00
Shaun Reed b9843a5d99 Move datastruct template implementations to header files 2020-08-01 22:57:12 -04:00
Shaun Reed e4e1fd09d6 Move preprocessor TYPE define to header files 2020-07-30 19:27:29 -04:00
Shaun Reed 23eb29ea0d Add RD for a queuelist class using templates 2020-07-30 19:08:59 -04:00
Shaun Reed 4fe1fc106b Remove unused BST class template 2020-07-30 18:45:01 -04:00
Shaun Reed f7c22e4228 Add RD of a queuelist class using templates 2020-07-30 18:44:01 -04:00
Shaun Reed 3729e15f1e Add RD of a doublelist class using templates
+ Fix 'insert at' function from printing result output twice
2020-07-30 16:39:28 -04:00
Shaun Reed c31a7a6571 Add RD for vector class using templates 2020-07-24 16:55:36 -04:00
Shaun Reed 2c6400cc87 Initial commit for starting work on templates 2020-07-23 17:58:18 -04:00
Shaun Reed a692a0f631 Add CMakeLists for all datastructs
+ Reorder, refactor comments
2020-07-11 23:04:45 -04:00
Shaun Reed be91573abc Finish MaxHeap ctor, dtor and op= 2020-07-11 20:35:49 -04:00