GithubHelp home page GithubHelp logo

plumpmath / cppnow2016 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from daniel-j-h/cppnow2016

0.0 0.0 0.0 455 KB

C++Now 2016 talk - Pulling Visitors: Boost.Graph + Boost.Coroutine

License: MIT License

C++ 93.64% CMake 4.07% Nix 2.29%

cppnow2016's Introduction

Pulling Visitors: Boost.Graph + Boost.Coroutine

Continuous Integration

Overview

I recommend going through the examples in order.

Example Introduces
01.cc Dynamic graph, adjacency_list
02.cc Bundled Properties, working with vertex / edge ranges
03.cc Static graph, compressed_sparse_row_graph, temporary graph-external properties
04.cc Breadth-first search, customization through visitor
05.cc Breadth-first search, inverting control flow with coroutines, stepwise iteration, stdlib integration
06.cc Bidirectional dijkstra, customization through visitor, problem with stepping visitors
07.cc Bidirectional dijkstra, inverted control flow with coroutines, stepwise iteration
08.cc GeoJSON from graph for visualization

Building the Examples

mkdir build && cd build
export CC='clang' CXX='clang++' CXXFLAGS='-Wall -Wextra -pedantic'
cmake .. -DCMAKE_BUILD_TYPE=Release

With Nix:

nix-shell --pure --run 'env CXXFLAGS="-Wall -Wextra -pedantic" mkdir build && cd build && cmake ..'
nix-shell --pure --run 'cmake --build build'

Note: apply use-boost-coroutine2.patch if you want to use the newer Boost.Coroutine2 instead of the Boost.Coroutine library. This requires your Boost >=1.59 distribution to be build with CXXFLAGS=-std=c++14, which is probably not the case by default or using Boost >=1.61 where Boost.Coroutine2 was relaxed to C++11.

Resources

License

Copyright © 2016 Daniel J. Hofmann

Distributed under the MIT License (MIT).

cppnow2016's People

Contributors

daniel-j-h 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.