GuideTree implements Iterable<GuideTreeNode<S, C>> { public Node getRoot() { return root; } GuideTree(List<S> sequences, List<PairwiseSequenceScorer<S, C>> scorers); int[] getAllPairsScores(); double[][] getDistanceMatrix(); Node getRoot(); int[][] getScoreMatrix(); List<S> getSequences(); @Override Iterator<GuideTreeNode<S, C>> iterator(); @Override String toString();  }
@Test public void testGetRoot() { assertEquals(Alignments.getProgressiveAlignment(tree, ProfileProfileAlignerType.GLOBAL, gaps, blosum62).toString(), String.format("%s%n%s%n%s%n%s%n", "--ARND-", "--ARND-", "HILK---", "--A-NDR")); }