Q1_20250829125615.webp
blue_sky

Q1_20250829125615.webp

  • Media owner blue_sky
  • Ngày thêm
☑Kizspy.me
The structure of the main classes is as follows:
-
-
Class Order: contains information about an Order object, including orderID,
customerName, and totalPrice.
Class TreeNode: includes an Order object and left, right pointer for tree structure.
Class OrderBST: is a Binary Search Tree structure, where the node also contains
complete Order data. This Tree's role is to store, search and sort data (alphabetically) in
ascending order (inOrder traversal)
Class StoreAction: includes information that represents an administrative action
performed in the store, including action ID and action Type.
Class Action Node: includes a StoreAction object and next pointer for linked-list related
data structure.
-
Class Action LogStack: is a stack structure (implemented as a linked list), where the
node contains complete Order data. This Stack is used to manage all the items in LIFO
(Last In - First Out) rule.
Class ComputerStore is the main class of the program, containing:
o An ActionLogStack: manage the working history of the store, such as: buy, ship,
Zoom
+ 100%
Close
Chưa có bình luận nào.

Thông tin

Category
CSD201
Thêm bởi
blue_sky
Ngày thêm
Lượt xem
12,544
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom