Skip to content

Instantly share code, notes, and snippets.

# https://gist.github.com/clayg/5d6b540bccdf3d927c079655b8a6c10d
# modified to use DAGPool
import sys
import random
from eventlet import sleep
from eventlet.dagpool import DAGPool
packages = {
@nat-goodspeed
nat-goodspeed / pulling_visitors.cpp
Last active May 11, 2016 19:15
Pulling Visitors - bidirectional Dijkstra search example
// Copyright Nat Goodspeed 2016.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
// Portions of this source were excerpted from
// http://www.boost.org/doc/libs/release/libs/graph/example/dave.cpp
// and are therefore copyrighted: