SyTen

◆ lastCommonAncestor()

Tree::Position syten::T3N::Tree::lastCommonAncestor ( Position const &  one,
Position const &  two 
)

Returns the last common ancestor and the number of shared nodes.

References std::min(), std::vector< T >::push_back(), and std::vector< T >::size().

Referenced by syten::T3N::Tree::path().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: