Commit graph

78 commits

Author SHA1 Message Date
Revone 61f465fe99 Added a method for data type validation through type conversion to Zod schemas. 2023-08-28 18:43:09 +08:00
Revone de5a001b6a The Graph's API has been optimized. 2023-08-28 11:15:04 +08:00
Revone d29ff07f40 Swap the positions of val and id to enhance the intuitiveness of the API. Revise the design of familyPosition in AbstractBinaryTree such that the previous assignment approach is replaced with a real-time retrieval method. Standardize the BST.remove method with the AbstractBinaryTree.remove method. Eliminate the redundant attribute name from TreeNode. 2023-08-26 10:24:31 +08:00
Revone 2ea57d26ae For the sake of API simplicity, if val is not provided, id can be used in its place. 2023-08-24 00:01:44 +08:00
Revone 6bc894c5c1 Organized all the interfaces. Implemented the removeEdgeSrcToDest method for the Graph class. 2023-08-23 23:03:19 +08:00
Revone e70d988ac9 v1.18.6 published 2023-08-23 13:23:02 +08:00
Revone 60e08d3ac5 Successfully implemented recursive type inference for the BinaryTreeNode type by passing the node constructor through the constructor, effectively addressing the type inconsistency caused by invoking parent class methods after inheritance. 2023-08-22 22:50:16 +08:00
Revone c1b5969c51 Support TypeScript v5.1.6. Standardize all getters and setters. Adjust access permissions for accessors, set access permissions for protected or private member variables, and indicate them using the private identifier "_". 2023-08-21 16:17:01 +08:00
Revone 4813c6d783 v1.17.3 published 2023-08-20 21:08:25 +08:00
Revone 938df50847 v1.17.0 published 2023-08-20 01:02:11 +08:00
Revone 91c47c28c2 SinglyLinkedList reimplemented and tested 2023-08-19 23:12:16 +08:00
Revone 422c24cc16 v1.16.1 published 2023-08-18 22:40:36 +08:00
Revone 07231cd4c4 v1.15.2 published 2023-08-17 00:50:14 +08:00
Revone f040fd7699 v1.15.0 published 2023-08-16 22:49:29 +08:00
Revone 2d07c5e5af update Typescript version to 4.9.5, DirectedGraph tests completed, Remedial measures have been taken in TypeScript versions 5.0 and above to enforce consistent access modifiers for getters and setters., annotation content has been enriched. 2023-08-16 22:44:38 +08:00
Revone 9fac28cf35 v1.12.11 publish 2023-08-16 01:35:42 +08:00
Revone 02bc7c4b8f add function names 2023-08-16 01:35:16 +08:00
Revone 8bdc3218db Name the addition method as "add" within the unified API 2023-08-14 19:43:52 +08:00
Revone 6b8f1e24f3 added tag v1.12.9, support api docs 2023-08-14 14:09:45 +08:00
Revone cd3decd077 API docs supported 2023-08-14 14:04:11 +08:00
Revone 92d6b38d58 README.md refined 2023-08-12 23:23:09 +08:00
Revone dec3146ec3 Circular dependencies check supported 2023-08-12 22:54:56 +08:00
Revone c6e933acf0 All code annotations have been completed. 2023-08-12 11:35:25 +08:00
Revone 2efebe82c2 support test by using Jest 2023-08-12 01:11:08 +08:00
Revone 0770aeb2d1 version 0.9.16 published 2023-08-11 22:46:43 +08:00
Revone d0885cd561 exports bug fixed 2023-06-16 10:58:17 +08:00
Revone bedf9de49f type importing bug solved 2023-06-16 01:24:35 +08:00
Revone d57926602d first commit 2023-06-16 00:34:28 +08:00