PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/Src/Dependencies/Boost/boost/graph/distributed/selector.hpp

http://hadesmem.googlecode.com/
C++ Header | 36 lines | 17 code | 7 blank | 12 comment | 0 complexity | 2a1ed5f9ceb7f50f54b7d785f9d9a31b MD5 | raw file
 1// Copyright (C) 2006 The Trustees of Indiana University.
 2
 3// Use, modification and distribution is subject to the Boost Software
 4// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 5// http://www.boost.org/LICENSE_1_0.txt)
 6
 7//  Authors: Douglas Gregor
 8//           Andrew Lumsdaine
 9#ifndef BOOST_GRAPH_DISTRIBUTED_SELECTOR_HPP
10#define BOOST_GRAPH_DISTRIBUTED_SELECTOR_HPP
11
12#ifndef BOOST_GRAPH_USE_MPI
13#error "Parallel BGL files should not be included unless <boost/graph/use_mpi.hpp> has been included"
14#endif
15
16namespace boost { 
17
18  /* The default local selector for a distributedS selector. */
19  struct defaultS {};
20
21  /**
22   * Selector that specifies that the graph should be distributed
23   * among different processes organized based on the given process
24   * group.
25   */
26  template<typename ProcessGroup, typename LocalS = defaultS,
27           typename DistributionS = defaultS>
28  struct distributedS 
29  {
30    typedef ProcessGroup process_group_type;
31    typedef LocalS local_selector;
32    typedef DistributionS distribution;
33  };
34}
35
36#endif // BOOST_GRAPH_DISTRIBUTED_SELECTOR_HPP