bridging_graph: Make or query connected graph of bridging registrations
Description
These functions are designed for expert use. In general it is
recommended to use xform_brain.
bridging_graph creates an igraph::graph representing all known
template brains (vertices) and the bridging registrations connecting them
(edges).
shortest_bridging_seq finds the shortest bridging
sequence on a graph of all available bridging registrations, subject to
constraints defined by graph connectivity and the reciprocal
parameter.
When reciprocal != NAwe create a graph where each forward
transformation is matched by a corresponding inverse transformation with
the specified edge weight. The edge weight for forward transforms will
always be 1.0.
By default regdirs is set to getOption('nat.templatebrains.regdirs')