void run(const std::string& header) { #ifdef RUN_SP run_impl(std::ptr_fun(spirit::parse), "spirit", header); #endif #ifdef RUN_XP run_impl(std::ptr_fun(xpressive::parse), "xpressive", header); #endif std::cout << std::endl; }
static void run(const DistributedGraph& g, typename graph_traits<DistributedGraph>::vertex_descriptor s, PredecessorMap predecessor, DistanceMap distance, Lookahead lookahead, WeightMap weight, IndexMap index_map, ::boost::param_not_found, Compare compare, Combine combine, DistInf inf, DistZero zero, DijkstraVisitor vis) { typedef typename graph_traits<DistributedGraph>::vertices_size_type vertices_size_type; vertices_size_type n = num_vertices(g); std::vector<default_color_type> colors(n, white_color); run_impl(g, s, predecessor, distance, lookahead, weight, index_map, make_iterator_property_map(colors.begin(), index_map), compare, combine, inf, zero, vis); }
void acceptor_t::run (cbx_t cb) { _cb = cb; run_impl (); }