2 // FORESTER -- software libraries and applications
3 // for evolutionary biology research and applications.
5 // Copyright (C) 2008-2009 Christian M. Zmasek
6 // Copyright (C) 2008-2009 Burnham Institute for Medical Research
7 // Copyright (C) 2000-2001 Washington University School of Medicine
8 // and Howard Hughes Medical Institute
11 // This library is free software; you can redistribute it and/or
12 // modify it under the terms of the GNU Lesser General Public
13 // License as published by the Free Software Foundation; either
14 // version 2.1 of the License, or (at your option) any later version.
16 // This library is distributed in the hope that it will be useful,
17 // but WITHOUT ANY WARRANTY; without even the implied warranty of
18 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 // Lesser General Public License for more details.
21 // You should have received a copy of the GNU Lesser General Public
22 // License along with this library; if not, write to the Free Software
23 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
25 // Contact: phylosoft @ gmail . com
26 // WWW: www.phylosoft.org/forester
28 package org.forester.phylogeny;
30 public interface PhylogenyNodeI {
32 public enum NH_CONVERSION_SUPPORT_VALUE_STYLE {
33 NONE, IN_SQUARE_BRACKETS, AS_INTERNAL_NODE_NAMES;
36 public void addAsChild( PhylogenyNodeI node );
38 public PhylogenyNode getChildNode( int i );
40 public double getDistanceToParent();
44 public String getName();
46 public void setDistanceToParent( double d );
48 public void setName( String name );
50 public void setParent( PhylogenyNode phylogenyNode );