Code Monkey home page Code Monkey logo

carparkproject_linkedlistqueuestack's Introduction

CarParkProject_LinkedListQueueStack

Bu uygulama Data Structures (Veri Yapıları) dersi için linked list (bağlı liste), queue (kuyruk) ve stack data structers (yığın veri yapıları) kulanılarak geliştirilmiştir.

AÇIKLAMA

Gerçekleştirilen Platform

Microsoft Visual Studio Community 2017 - Version 15.6.2 - C#

Projenin Tanımı

3 katlı bir otoparkın her katına eklenen 15’er tane arabanın, sadece zemin kattan birer birer çıkmasına izin veren otopark projesi.

Veri Yapısı Kataloğu

Kullanılan Veri Yapıları

  • Bağlı liste
  • Dairesel kuyruk
  • Yığın

Sınıflar ve Metotlar

  • Araba Sınıfı: Arabanın renk özelliğini tutar.
  • IQueue Arayüzü:
    • void Insert(Araba a);
    • Araba Remove();
    • Araba Peek();
    • Boolean IsEmpty();
  • IStack Arayüzü:
    • void Push(Araba a);
    • Araba Pop();
    • Araba Peek();
    • Boolean IsEmpty();
    • int Top { get; set; }
  • LinkedListADT Soyut Sınıfı:
    • Node Head;
    • Node Last;
    • int Size = 0;
    • abstract void InsertFirst(Araba a);
    • abstract Node Delete();
  • Node Sınıfı: Düğümün özelliklerini tutar.
  • BodrumKat Sınıfı: Bodrum kattaki arabaların tutulduğu yığın.
    • void Push(Araba a) : Yığına araba ekler.
    • Araba Pop(): Yığından araba çıkarır.
    • Araba Peek(): Yığındaki ilk elemanı döndürür.
    • Boolean IsEmpty(): Yığın boş mu diye kontrol eder.
    • int Top { get; set; }: Yığının en üstündeki eleman.
    • string BKListele() : Yığındaki arabaları listeler.
  • ZeminKat Sınıfı: Zemin kattaki arabaların tutulduğu kuyruk.
    • void Insert(Araba a): Kuyruğa araba ekler.
    • Araba Remove(); Kuyruktan araba çıkarır.
    • Araba Peek(); Kuyruktaki ilk elemanı döndürür.
    • Boolean IsEmpty(): Kuyruk boş mu diye kontrol eder.
    • string ZKListele() : Kuyruktaki arabaları listeler.
    • double Test() : bilgisayarın 5 saniyede ortalama kaç adet otopark problemi çözdüğünü döndürür.
  • UskKat Sınıfı: Üst kattaki arabaların tutulduğu bağlı liste.
    • abstract void InsertFirst(Araba a) : Listenin başına araba ekler.
    • abstract Node Delete(): Listeden araba çıkarır.
    • string UKListele() : Listedeki arabaları listeler.

carparkproject_linkedlistqueuestack's People

Contributors

semustafacevik avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.