void function ( Tree arg0 , NodeRef arg1 , double arg2 , Variate arg3 ) { if ( arg0 . isExternal ( arg1 ) ) { double loc0 = arg0 . getNodeHeight ( arg1 ) ; arg3 . add ( arg2 - loc0 ) ; } else { getRootToTipDistances ( arg0 , arg0 . getChild ( arg1 , 0 ) , arg2 , arg3 ) ; getRootToTipDistances ( arg0 , arg0 . getChild ( arg1 , 1 ) , arg2 , arg3 ) ; } }
gets the root to tip distances from a node . concode_field_sep PlaceHolder placeHolder concode_field_sep void adjustInternalHeights concode_elem_sep void getTipDates concode_elem_sep void getTipDates concode_elem_sep double guessDate concode_elem_sep void setHeightsFromDates