21 typedef typename F::type type;
22 typedef typename F::type::type t_type;
25 virtual void FillGraph(
const F & spc,
const int power=2,
const bool verbose=
false);
27 virtual void SplitGraph(
const int nPparts);
33 this->graph_.EmptyGraph();
34 this->FillGraph(spc, power,
verbose);
39 this->graph_.EmptyGraph();
45 this->graph_.EmptyGraph();
55 this->graph_.EmptyGraph();
57 std::unique_ptr<typename F::Scanner>
sc(spc.scan());
62 for (
int i=0; i < power; i++)
65 this->graph_.addVertex(&elm,
Weight);
67 DEBUGL(
verbose,
"Added vertex at address " << &elm <<
" of weight " <<
Weight <<
" to this graph");
78 void SpaceGraph<F>::SplitGraph(
const int nbParts)
80 this->graph_.SetSubdomains(
nbParts);
86 return this->graph_.GetSubdomain(
Part);
90 Sequence<bool> SpaceGraph<F>::getSubDomainBool(
const int Part)
const
92 return this->graph_.GetSubdomainBool(
Part);
#define DEBUGL(doit, msg)
Set< F > makeSet(uint n, const F &first,...)