GithubHelp home page GithubHelp logo

wjtung / ga-tspcpp Goto Github PK

View Code? Open in Web Editor NEW
75.0 75.0 15.0 26.31 MB

Genetic Algorithm with modified operators for an integrated Traveling Salesman and Coverage Path Planning Problem

Python 74.77% C++ 25.23%

ga-tspcpp's People

Contributors

wjtung avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ga-tspcpp's Issues

Bounds error while creating Cells

Hello, I am getting this error when I run this on my custom maps (generated using mapping from lidar) but it works fine with your test cases.

Traceback (most recent call last):
File "TSPCPP.py", line 94, in
Boustrophedon_Cellular_Decomposition(test_case)
File "/GA-TSPCPP/Decomposition.py", line 131, in Boustrophedon_Cellular_Decomposition
cells = create_cells(decomposed, total_cells_number)
File "/GA-TSPCPP/Decomposition.py", line 66, in create_cells
y_center = int((cell.ceiling[x_center] + cell.floor[x_center]) / 2)
KeyError: 1543

Any suggestions/insights on how to resolve this?

redraw.py

hey,in your redraw.py,you use input.txt,but in your code ,dont output input.txt,so i want to ask how to output input.txt?

Compilation fails! Request your help and support!

###Hello, I successfully compiled the optimal. cpp file and ga.cpp file. I tried to compare these two algorithms in the environment 1-6 of your paper.
Unfortunately, and found that optimal. Exe can get the result, but ga. exe can only get the result of environment 1, and nothing in environment 2-6.

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.