Hello,
using the parallel graph library, I try to combine the property definition for a vertex
typedef property vertex_property_t;
with the vertex storage type distributedS in a distributed adjacency_list.
Unfortunately this does not compile in the form listed below.
Now, I would like to learn why the code actually compiles fine if
a) distributedS is changed to vecS (see typdef vertex_storage_t),
b) property is changed to VVV (see typedef vertex_property_t).
I need the property vertex_rank_t for redistribution of the graph.
Thank you very much,
Andreas
#include
#include
#include
using namespace boost;
using boost::graph::distributed::mpi_process_group;
struct VVV {
friend class boost::serialization::access;
template<class Archive>
void serialize(Archive & ar, const unsigned int version) { }
};
//typedef vecS vertex_storage_t ;
typedef distributedS vertex_storage_t ;
//typedef VVV vertex_property_t;
typedef property vertex_property_t;
typedef adjacency_list G;
int main ()
{
G g(10);
}