لینک دانلود و خرید پایین توضیحات
دسته بندی : پاورپوینت
نوع فایل : .ppt ( قابل ویرایش و آماده پرینت )
تعداد اسلاید : 89 اسلاید
قسمتی از متن .ppt :
Figures from Chapter 8 ofData Structures via C++Objects by Evolution
A. Michael Berman
Copyright 1997Oxford University PressAll Rights Reserved
5/6/2017
Copyright 1997 Oxford University PressAll Rights Reserved
1
Chapter 8
Stacks
Overview
The specification, use, and implementation of the Stack ADT.
5/6/2017
Copyright 1997 Oxford University PressAll Rights Reserved
2
Chapter Objectives
1. Understanding and applying the Stack ADT.
2. Implementing the Stack ADT as a C++ Class.
3. Implementing a Stack using an array.
4. Implementing a Stack using a dynamic list.
5. Implementing an ADT with C++ templates.
6. Applications of the Stack ADT.
5/6/2017
Copyright 1997 Oxford University PressAll Rights Reserved
3
The Robot Navigation Problem
Lets suppose that we adopt the following basic strategy for the robot:
1. If possible, move in the direction of the target. (If there are two directions both of which move the robot closer to the target, choose one arbitrarily.
2. If the robot can’t move toward the robot, try any other move arbitrarily.
پاورپوینت درمورد data stracture