17#ifndef __dwi_tractography_connectome_mapper_h__
18#define __dwi_tractography_connectome_mapper_h__
28namespace Tractography {
43 tck2nodes (that.tck2nodes),
44 metric (that.metric) { }
49 assert (tck2nodes.provides_pair());
51 out.set_nodes (tck2nodes (in));
52 out.set_factor (metric (in, out.get_nodes()));
53 out.set_weight (in.weight);
59 assert (!tck2nodes.provides_pair());
62 tck2nodes (in, nodes);
63 out.set_nodes (std::move (nodes));
64 out.set_factor (metric (in, out.get_nodes()));
65 out.set_weight (in.weight);