BẢO HỘ SỞ HỮU TRÍ TUỆ ĐỐI VỚI CHỈ DẪN ĐỊA LÝ CÓ YẾU TỐ NƯỚC NGOÀI Ở VIỆT NAM SO SÁNH VỚI MỘT SỐ HỆ THỐNG PHÁP LUẬT TRÊN THẾ GIỚI

75 1.3K 0
BẢO HỘ SỞ HỮU TRÍ TUỆ ĐỐI VỚI CHỈ DẪN ĐỊA LÝ  CÓ YẾU TỐ NƯỚC NGOÀI Ở VIỆT NAM  SO SÁNH VỚI MỘT SỐ HỆ THỐNG PHÁP LUẬT TRÊN THẾ GIỚI

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Nhận dạng lớp Case Study: Mô sân bay • Lớp Plane, phương thức? – Khởi tạo – Hạ cánh – Cất cánh • Lớp Runway: – Chứa thành phần thể hàng đợi máy bay đợi cất cánh hạ cánh • Lớp Random: – trạng thái ngẫu nhiên việc cất cánh hạ cánh máy bay Cài đặt const int END_TIME = 30; // time to run simulation const int QUEUE_LIMIT = 60; // size of Runway queues const double ARRIVAL_RATE = 0.5, DEPARTURE_RATE = 0.5; int main( ) // Airport simulation program /* Pre: The user must supply the number of time intervals the simulation is to run, the expected number of planes arriving, the expected number of planes departing per time interval, and the maximum allowed size for runway queues Post: The program performs a random simulation of the airport, showing the status of the runway at each time interval, and prints out a summary of airport operation at the conclusion Uses: Classes Runway, Plane, Random and functions run_idle, initialize */ 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 int number_departures = random.poisson(DEPARTURE_RATE); // current departure requests for (int j = 0; j < number_departures; j++) { Plane current_plane(flight_number++, current_time, departing); if (small_airport.can_depart(current_plane) != success) current_plane.refuse( ); } Plane moving_plane; switch (small_airport.activity(current_time, moving_plane)) { // Let at most one Plane onto the Runway at current_time case land: moving_plane.land(current_time); break; case takeoff: moving_plane.fly(current_time); break; case idle: run_idle(current_time); } // end of switch { int flight_number = 0; Random random; Runway small_airport(queue_limit); for (int current_time = 0; current_time < END_TIME; current_time++) { // loop over time intervals int number_arrivals = random.poisson(ARRIVAL_RATE); // current arrival requests 10 for (int i = 0; i < number_arrivals; i++) { 11 Plane current_plane(flight_number++, current_time, arriving); 12 if (small_airport.can_land(current_plane) != success) 13 current plane refuse( ); Class Runway • Cần quản lý hai hàng đợi – Cất cánh hạ cánh • Ưu tiên máy bay đợi hạ cánh • Yêu cầu thống kê: – Số máy bay xử lý – Thời gian đợi trung bình – Số máy bay bị từ chối 1 10 11 12 13 14 15 16 17 18 19 20 21 enum Runway_activity {idle, land, takeoff}; class Runway { public: Runway(int limit); Error_code can_land(const Plane ¤t); Error_code can_depart(const Plane ¤t); Runway_activity activity(int time, Plane &moving); void shut_down(int time) const; private: Queue landing; Queue takeoff; int queue_limit; int num_land_requests; // number of planes asking to land int num_takeoff_requests; // number of planes asking to take off int num_landings; // number of planes that have landed int num_takeoffs; // number of planes that have taken off int num_land_accepted; // number of planes queued to land int num_takeoff_accepted; // number of planes queued to take off int num_land_refused; // number of landing planes refused int num_takeoff_refused; // number of departing planes refused int land wait; // total time of planes waiting to land Định nghĩa lớp Plane enum Plane_status {null, arriving, departing}; class Plane { public: Plane( ); Plane(int flt, int time, Plane_status status); void refuse( ) const; void land(int time) const; void fly(int time) const; int started( ) const; 10.private: 11 int flt_num; 12 int clock_start; 13 Plane_status state; 14.};

Ngày đăng: 19/10/2014, 18:17

Từ khóa liên quan

Mục lục

  • PHẦN MỞ ĐẦU

    • CHƯƠNG 1

    • KHÁI QUÁT VỀ CHỈ DẪN ĐỊA LÝ VÀ BẢO HỘ CHỈ DẪN ĐỊA LÝ CÓ YẾU TỐ NƯỚC NGOÀI

      • 1.1. Khái niệm Chỉ dẫn địa lý có yếu tố nước ngoài

        • 1.1.1. Định nghĩa chỉ dẫn địa lý có yếu tố nước ngoài

          • 1.1.1.1. Theo điều ước quốc tế

          • 1.1.1.2. Theo Pháp luật Việt Nam

          • 1.1.2. Đặc điểm của chỉ dẫn địa lý có yếu tố nước ngoài

          • 1.1.3. Phân biệt Chỉ dẫn địa lý, chỉ dẫn nguồn gốc và Tên gọi xuất xứ hàng hoá

            • 1.1.3.1. Phân biệt CDĐL với chỉ dẫn nguồn gốc

            • 1.1.3.2. Phân biệt Chỉ dẫn địa lý và TGXXHH

            • 1.1.4. Ý nghĩa của việc bảo hộ chỉ dẫn địa lý có yếu tố nước ngoài

            • 1.2. Bảo hộ Chỉ dẫn địa lý có yếu tố nước ngoài.

              • 1.2.1. Bảo hộ chỉ dẫn địa lý theo Pháp luật của một số quốc gia trên thế giới

                • 1.2.1.1. Bảo hộ CDĐL theo Hệ thống pháp luật Châu Âu.

                • 1.2.1.2. Bảo hộ CDĐL theo Hệ thống pháp luật Anh- Mỹ.

                • 1.2.1.3. Bảo hộ CDĐL theo Hệ thống pháp luật Trung Quốc.

                • 1.2.2. Bảo hộ chỉ dẫn địa lý theo pháp luật Việt Nam.

                • 1.3. Các nguồn luật điều chỉnh bảo hộ chỉ dẫn địa lý

                  • 1.3.1. Các điều ước quốc tế về bảo hộ CDĐL

                  • 1.3.2. Quy định của một số quốc gia về bảo hộ Chỉ dẫn địa lý

                  • 1.3.3. Pháp luật Việt Nam về bảo hộ CDĐL

                  • CHƯƠNG 2

                  • SO SÁNH BẢO HỘ CDĐL CÓ YẾU TỐ NƯỚC NGOÀI Ở VIỆT NAM VỚI MỘT SỐ HỆ THỐNG PHÁP LUẬT TRÊN THẾ GIỚI

                    • 2.1. Hệ thống bảo hộ

                      • 2.1.1. Hệ thống của Việt Nam

                      • 2.1.2. Hệ thống của EU

                      • 2.1.3. Hệ thống của Hoa Kỳ

                      • 2.1.4. Hệ thống của Trung Quốc

                      • 2.2. Nội dung quy định về CDĐL

                        • 2.2.1. Quy định của pháp luật Việt Nam

                          • 2.2.1.1. Danh tiếng của sản phẩm mang CDĐL

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan