Giter VIP home page Giter VIP logo

topologicalsort's Introduction

Stima_Tucil2

Nguli Planner

Repositori untuk Tugas Kecil 2 Strategi Algoritma Teknik Informatika ITB 2019
Spek

Deskripsi

Aplikasi sederhana penyusun rencana pengambilan kuliah. Penyusunan rencana kuliah diimplementasikan dengan pendekatan Topological Sorting. Suatu mata kuliah bisa saja memiliki prerequisite/prasyarat. Untuk mengambil mata kuliah tersebut harus mengambil mata kuliah di prasyarat di semester sebelumnya terlebih dahulu.

Requirement/Instalasi

  1. Python

Cara Menggunakan Program

1. Menggunakan manual

Menjalankan program satu kali dan memasukan nama file secara manual

  1. Program dijalankan melalui terminal dengan menjalankan python src/13519188.py untuk Windows, OS lain menyesuaikan.
  2. Kemudian akan muncul prompt untuk memasukan nama file, masukan nama file berisi daftar mata kuliah.
    • File input berformat .txt
    • Satu file berformat :
      <kode_kuliah_1>, <kode kuliah prasyarat - 1>, <kode kuliah prasyarat - 2>, <kode kuliah prasyarat - 3>.
      <kode_kuliah_2>, <kode kuliah prasyarat - 1>, <kode kuliah prasyarat - 2>.
      <kode_kuliah_3>, <kode kuliah prasyarat - 1>, <kode kuliah prasyarat - 2>, <kode kuliah prasyarat - 3>, <kode kuliah prasyarat - 4>.
      <kode_kuliah_4>.
  3. Program akan berjalan dan memunculkan hasilnya.

2. Menggunakan script

Menjalankan program sebanyak test case pada folder test secara langsung berurutan.

  1. Program dijalankan di terminal dengan menjalankan python bin/13519188_runner.py untuk Windows, OS lain menyesuaikan. Atau dapat juga dengan menjalankan bin/13519188_runner.py secara langsung.
  2. Program akan berjalan dan menampikan semua hasil dari test case yang ada di folder test. Ubah isi folder test untuk mengubah hasil.

Author

NIM/Nama : 13519188/Jeremia Axel Kelas : 04

topologicalsort's People

Contributors

jeremiaaxel 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.