/usr/include/boost/graph/distributed
NameSizeModeActions
adjlist/-0755rm
detail/-0755rm
adjacency_list.hpp1497770644editdlrm
betweenness_centrality.hpp701320644editdlrm
boman_et_al_graph_coloring.hpp129870644editdlrm
breadth_first_search.hpp52090644editdlrm
compressed_sparse_row_graph.hpp818050644editdlrm
concepts.hpp70280644editdlrm
connected_components.hpp284010644editdlrm
connected_components_parallel_search.hpp150590644editdlrm
crauser_et_al_shortest_paths.hpp253420644editdlrm
dehne_gotz_min_spanning_tree.hpp386870644editdlrm
delta_stepping_shortest_paths.hpp194150644editdlrm
depth_first_search.hpp104370644editdlrm
dijkstra_shortest_paths.hpp87190644editdlrm
distributed_graph_utility.hpp45600644editdlrm
eager_dijkstra_shortest_paths.hpp162940644editdlrm
filtered_graph.hpp19430644editdlrm
fruchterman_reingold.hpp129630644editdlrm
graphviz.hpp86720644editdlrm
hohberg_biconnected_components.hpp380930644editdlrm
local_subgraph.hpp60570644editdlrm
mpi_process_group.hpp265920644editdlrm
named_graph.hpp481620644editdlrm
one_bit_color_map.hpp40460644editdlrm
page_rank.hpp80030644editdlrm
queue.hpp102490644editdlrm
reverse_graph.hpp12230644editdlrm
rmat_graph_generator.hpp59130644editdlrm
selector.hpp13750644editdlrm
shuffled_distribution.hpp28330644editdlrm
strong_components.hpp403960644editdlrm
st_connected.hpp61580644editdlrm
two_bit_color_map.hpp40410644editdlrm
unsafe_serialize.hpp3800644editdlrm
vertex_list_adaptor.hpp162520644editdlrm
Edit: /usr/include/boost/graph/distributed/two_bit_color_map.hpp (4041B)
// Copyright (C) 2006 The Trustees of Indiana University. // Use, modification and distribution is subject to 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) // Authors: Douglas Gregor // Jeremiah Willcock // Andrew Lumsdaine // Distributed version of the two-bit color map #ifndef BOOST_DISTRIBUTED_TWO_BIT_COLOR_MAP_HPP #define BOOST_DISTRIBUTED_TWO_BIT_COLOR_MAP_HPP #ifndef BOOST_GRAPH_USE_MPI #error "Parallel BGL files should not be included unless has been included" #endif #include #include #include namespace boost { template class two_bit_color_map > : public parallel::distributed_property_map > { typedef two_bit_color_map local_map; typedef parallel::distributed_property_map inherited; typedef local_property_map index_map_type; public: two_bit_color_map(std::size_t inital_size, const index_map_type& index = index_map_type()) : inherited(index.process_group(), index.global(), local_map(inital_size, index.base())) { } inherited& base() { return *this; } const inherited& base() const { return *this; } }; template inline two_bit_color_type get(two_bit_color_map > const& pm, typename property_traits::key_type key) { return get(pm.base(), key); } template inline void put(two_bit_color_map > const& pm, typename property_traits::key_type key, two_bit_color_type value) { put(pm.base(), key, value); } template class two_bit_color_map > : public parallel::distributed_property_map< ProcessGroup, GlobalMap, two_bit_color_map > { typedef two_bit_color_map local_map; typedef parallel::distributed_property_map inherited; typedef parallel::distributed_property_map index_map_type; public: two_bit_color_map(std::size_t inital_size, const index_map_type& index = index_map_type()) : inherited(index.process_group(), index.global(), local_map(inital_size, index.base())) { } inherited& base() { return *this; } const inherited& base() const { return *this; } }; template inline two_bit_color_type get(two_bit_color_map< parallel::distributed_property_map< ProcessGroup, GlobalMap, two_bit_color_map > > const& pm, typename property_traits::key_type key) { return get(pm.base(), key); } template inline void put(two_bit_color_map< parallel::distributed_property_map< ProcessGroup, GlobalMap, two_bit_color_map > > const& pm, typename property_traits::key_type key, two_bit_color_type value) { put(pm.base(), key, value); } } // end namespace boost #endif // BOOST_DISTRIBUTED_TWO_BIT_COLOR_MAP_HPP