Ignore:
Timestamp:
03/09/12 13:40:55 (12 years ago)
Author:
sherbold
Message:
  • adapted implementation of de.ugoe.cs.eventbench.models.Trie.getNumLeafAncestors() and de.ugoe.cs.eventbench.TrieNode?().getLeafAncestors() as the assumptions of these methods were invalidated by the new and more precise equals functions
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/EventBenchCore/src/de/ugoe/cs/eventbench/models/TrieNode.java

    r397 r399  
    66import java.util.LinkedList; 
    77import java.util.List; 
    8 import java.util.Set; 
    98 
    109import de.ugoe.cs.eventbench.models.Trie.Edge; 
     
    350349         *            set of all ancestors of leafs 
    351350         */ 
    352         protected void getLeafAncestors(Set<TrieNode<T>> ancestors) { 
     351        protected void getLeafAncestors(List<TrieNode<T>> ancestors) { 
    353352                boolean isAncestor = false; 
    354353                for (TrieNode<T> child : children) { 
Note: See TracChangeset for help on using the changeset viewer.