pub unsafe extern "C" fn tsk_tree_get_mrca(
    self_: *const tsk_tree_t,
    u: tsk_id_t,
    v: tsk_id_t,
    mrca: *mut tsk_id_t
) -> c_int
Expand description

@brief Compute the most recent common ancestor of two nodes.

@rst If two nodes do not share a common ancestor in the current tree, the MRCA node is :c:macro:TSK_NULL. @endrst

@param self A pointer to a tsk_tree_t object. @param u A tree node. @param v A tree node. @param mrca A tsk_id_t pointer to store the returned most recent common ancestor node. @return 0 on success or a negative value on failure.