Giter Club home page Giter Club logo

ga-scheduling's Introduction

GA-Scheduling

License: GPL v3

Project Description

  • Problem: Schedule the task for UAV.
  • Target:
    • Minimize the length of path;
    • Minimize the execution time.
  • Presumption:
    • UAV moves in a 2D plane;
    • All UAV are equal;
    • UAV is capable for all the task;
    • No limitation for the maximum number of tasks executed by a single UAV;
    • No time is needed for task execution and target is still during the task execution;
    • No consideration for the following action after the UAV finish all its task;
    • No interval between tasks.
  • Constrains:
    • UAV follows the Dubins Path;
    • The task in sequence must be executed in order;
    • No collision between UAV.

Experiment Result

Scheduled Path Length

We choose CGA as the baseline. The fitness is the sum of length of all the UAVs.

Average Gene-Distance to the Best Gene

We use the average gene-distance to evaluate the ability of our algorithm to explore the entire space, the higher, the better.

Our Work

  • NaiveGA

    A simple implementation for the general GA algorithm.

    • Purpose:
      • Test the GA algorithm;
      • Explore the resolve the bottleneck of the performance;
      • An example for the GA interface;
  • SchGA

    The solution for the project.

    • Build the Project

      $ mkdir build 
      $ cd build
      $ cmake ..
      $ make
      
      • cmake configuration

        -DPRINT_INFO: Print the information to the terminal, ON by default.

        -DADVANCED_FEATURE: Select the algorithm, ON -> our algorithm, OFF -> baseline algorithm, ON by default.

    • Evaluate the Project

      ./GAHW recorder.csv
      

      Program will generate a random task configuration and ask for you confirmation.

      The statistical data will be recorded to the csv file.

    • Task Descriptor

      To be filled.

    • Gene Coding

      To be filled.

    • Fitness Function

      • Dubins Path
      • Collision Detection
      • Correction for the gene violating constrains
    • Interbred

      To be filled.

    • Mutation

      To be filled.

    • Selection

      To be filled.

    • Advanced Features

      To be filled.

To Do

  • bug detecting...

ga-scheduling's People

Contributors

albertyang0112 avatar zhuochengzhang98 avatar

Stargazers

ZHAO Zirui avatar  avatar  avatar

Watchers

James Cloos avatar  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.