Explicitly adding, removing or replacing children of an ASTNode object may change the structure of the mathematical formula it represents, and may even render the representation invalid. Callers need to be careful to use this method in the context of other operations to create complete and correct formulas. The method ASTNode::isWellFormedASTNode() may also be useful for checking the results of node modifications.
Visit SBML.org for more information
about SBML and libSBML.