Coder Social home page Coder Social logo

route-planning's Introduction

Testing

For exercises that have unit tests, the project must be built with the approprate test cpp file. This can be done by using cmake_tests instead of cmake. For example, from the build directory:

cmake_tests ..
make
./CppND-Route-Planning-Project -f ./map.osm

Those commands will build the code with the appropriate tests exercise. The tests can then be run from the build directory as follows:

../bin/test

Not all exercises have tests. The table is given below with the complete list of exercises with tests for reference:

Exercise Name
The RouteModel Class
The Node Class
Create RouteModel Nodes
Write the Distance Function
Create Road to Node Hashmap
Write FindNeighbors
Find the Closest Node
Write the A* Search Stub
Finish A* Search

This program relay on IO2D Library:

git clone --recurse-submodules https://github.com/cpp-io2d/P0267_RefImpl
cd P0267_RefImpl
mkdir Debug
cd Debug
cmake --config Debug "-DCMAKE_BUILD_TYPE=Debug" ..
cmake --build .
make
make install

System Library requirement:

Install GCC:  apt install build-essential
Install Cairo:  apt install libcairo2-dev
Install graphicsmagick:  apt install libgraphicsmagick1-dev
Install libpng:  apt install libpng-dev libcurl4-gnutls-dev

##Cmake requirement>=3.13 libcurl4-gnutls-dev is used for compile cmake to use https download sth.

https://gitlab.kitware.com/cmake/cmake
./bootstrap && make && sudo make install

route-planning's People

Contributors

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