Commit Graph

21 Commits

Author SHA1 Message Date
maddiebaka a8796ba886 Edit javadoc for clarity, method signature simplification
Make revisions to javadoc for clarity, remove unnecessary phrases, and
simplify calculateNextPermutation() method arguments.
2024-03-28 22:56:17 -04:00
maddiebaka f360c538eb Remove un-used import statements 2024-03-28 22:44:50 -04:00
maddiebaka 26ff1404a1 Refactor in WriteAwareBruteSolver, add javadoc
Refactor WriteAwareBruteSolver constructor to guard against a situation
in which the class could have an inconsistent internal state
2024-03-28 19:13:31 -04:00
maddiebaka 152d9dc3ce Nearest Neighbor solver, basic caching
Add a nearest neighbor solver (WriteAwareBruteSolver) and some basic
caching to the Java API adapter.

Fix a comment typo with an off-by-one error
2024-03-28 17:00:25 -04:00
maddiebaka 8386ace107 Project architecture and naive solver solution
Set up project architecture interfaces and add a naive implementation
of a solver in DumbBruteSolver
2024-03-26 16:26:51 -04:00
Rui Hu 562742206a Upload performance test result to artifact, cat the result to console
As I didn't find a solution to display the txt in pipeline ui.
2024-03-14 16:33:20 +08:00
Rui Hu 6a89285dd6 Add readme for building 2024-03-14 13:35:49 +08:00
Rui Hu 66f05c56bf Add skip sleep flag to performance analyze 2024-03-14 11:34:25 +08:00
Rui Hu 6782050414 Update unit tests and add performance analyze 2024-03-14 11:30:15 +08:00
Rui Hu 72ae4c0136 Move sleep skip to utils class 2024-03-14 10:57:16 +08:00
Rui Hu 499413f09a Add performance counter 2024-03-14 10:52:13 +08:00
Rui Hu f005187a72 Add option to fast forward sleeping 2024-03-13 17:34:11 +08:00
Rui Hu 45faf97cea Add more randomness to the answer 2024-03-13 12:30:58 +08:00
Rui Hu 33e04d22dd Update .gitlab-ci.yml file 2024-03-13 03:26:37 +00:00
Rui Hu 06665d3c1d Finish the document 2024-03-13 11:20:16 +08:00
Rui Hu d4bf67e122 Implement unit test for padlock-impl 2024-03-12 18:27:09 +08:00
Rui Hu 494bd6ff76 Add boilerplate for root project 2024-03-12 17:20:38 +08:00
Rui Hu 7739296926 Add debug flag, fix broken gradle config 2024-03-12 17:18:16 +08:00
Rui Hu 64fe5e4adb Rename Padlock to PadlockImpl 2024-03-12 15:23:43 +08:00
Rui Hu 6c798c04bd Implement the padlock 2024-03-12 15:18:46 +08:00
Rui Hu 4953d93d5e Initial commit 2024-03-12 06:08:12 +00:00