in progress
authorcmzmasek@gmail.com <cmzmasek@gmail.com@ca865154-3058-d1c3-3e42-d8f55a55bdbd>
Mon, 19 Sep 2011 17:40:29 +0000 (17:40 +0000)
committercmzmasek@gmail.com <cmzmasek@gmail.com@ca865154-3058-d1c3-3e42-d8f55a55bdbd>
Mon, 19 Sep 2011 17:40:29 +0000 (17:40 +0000)
forester/java/src/org/forester/application/get_subtree_specific_chars.java

index 2f0f143..3b6de88 100644 (file)
@@ -39,6 +39,8 @@ import org.forester.util.ForesterUtil;
 
 public class get_subtree_specific_chars {
 
+    final static boolean SIMPLE = true;
+
     public static void main( final String args[] ) {
         if ( args.length != 1 ) {
             System.err.println();
@@ -61,7 +63,6 @@ public class get_subtree_specific_chars {
         final SortedSet<String> all_chars = getAllExternalPresentAndGainedCharacters( phy.getRoot() );
         System.out.println( "Sum of all external characters:\t" + all_chars.size() );
         System.out.println();
-        final boolean SIMPLE = false;
         for( final PhylogenyNodeIterator iter = phy.iteratorPostorder(); iter.hasNext(); ) {
             final PhylogenyNode node = iter.next();
             if ( !SIMPLE && node.isExternal() ) {