Coder Social home page Coder Social logo

info6205_522's Introduction

evolve the spacecraft's landing path on complex land figure

GA project for INFO6205

Our Problem describles how spacecrafts making successful landing on a complex land figure.

alt text

The picture above is the land shape designed by us, using Java Graphics2D and Canvas. Our first generation of spacecrafts(or called landers) starts fly from the start point with an initial power, and its speed & flying direction angle are generated randomly defined by its own chromosome. Due to the gravity, after first flying most of them could have crashed into ground, their fly routes may looks like this:

alt text

We define 200 landers as the entire population and seperate them into 4 sub population in order to speed up the crossover progress, each landr has kind of real configurations such like fuel limit, speed, accerlerate rate, flying route points, etc. And such a progress are reapeated many times as the evolution. After each flying, we score those landers based on their performance: if one got closer to the target landing area with appropriate speed, it get higher score; if it crashed somewhere or fly out of the shape, it gets lower score. Then first several best landers are selected and used to breed new landers and replace the worst landers at same time to keep the total number of population at 200. We record their flying routes and visulize it in Canvas. This is how the evolution progress looks like:

After many times of generations, the good landers survived and they keep producing better landers for next generation. Finally some of landers are able to land on target area by 1000 X 1000 times generations in our test:

alt text

info6205_522's People

Contributors

lukchen avatar agupta26boston avatar irapant avatar

Stargazers

Derrick Wadek avatar

Forkers

agupta26boston

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.