public void selectParameters(List<Parameter> parameters){
  getParameter("tree");
  getParameter("treeModel.internalNodeHeights");
  getParameter("treeModel.allInternalNodeHeights");
  Parameter rootHeightParameter=getParameter("treeModel.rootHeight");
  if (rootHeightParameter.priorType == PriorType.NONE_TREE_PRIOR || !rootHeightParameter.isPriorEdited()) {
    rootHeightParameter.setInitial(getInitialRootHeight());
    rootHeightParameter.truncationLower=options.maximumTipHeight;
    rootHeightParameter.uniformLower=options.maximumTipHeight;
    rootHeightParameter.isTruncated=true;
  }
  if (options.useStarBEAST) {
    rootHeightParameter.isCalibratedYule=treePrior.getNodeHeightPrior() == TreePriorType.SPECIES_YULE_CALIBRATION;
  }
 else {
    rootHeightParameter.isCalibratedYule=treePrior.getNodeHeightPrior() == TreePriorType.YULE_CALIBRATION;
    parameters.add(rootHeightParameter);
  }
}

public void selectParameters ( List < Parameter > parameters ) { getParameter ( "tree" ) ; getParameter ( "treeModel.internalNodeHeights" ) ; getParameter ( "treeModel.allInternalNodeHeights" ) ; Parameter rootHeightParameter = getParameter ( "treeModel.rootHeight" ) ; if ( rootHeightParameter . priorType == PriorType . NONE_TREE_PRIOR || ! rootHeightParameter . isPriorEdited ( ) ) { rootHeightParameter . setInitial ( getInitialRootHeight ( ) ) ; rootHeightParameter . truncationLower = options . maximumTipHeight ; rootHeightParameter . uniformLower = options . maximumTipHeight ; rootHeightParameter . isTruncated = true ; } if ( options . useStarBEAST ) { rootHeightParameter . isCalibratedYule = treePrior . getNodeHeightPrior ( ) == TreePriorType . SPECIES_YULE_CALIBRATION ; } else { rootHeightParameter . isCalibratedYule = treePrior . getNodeHeightPrior ( ) == TreePriorType . YULE_CALIBRATION ; parameters . add ( rootHeightParameter ) ; } }
return a list of parameters that are required
