-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove assignIndices method from ZhangUnorderedTreeEditDistance
Instead, introduce a new class Node that can be implemented by CachedTree This allows that TreeUtils.getAllAttributes() can be reused in the constructor for ZhangUnorderedTreeEditDistance
- Loading branch information
1 parent
b72b18c
commit b28bad4
Showing
6 changed files
with
60 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
src/main/java/org/mastodon/mamut/treesimilarity/tree/Node.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package org.mastodon.mamut.treesimilarity.tree; | ||
|
||
import java.util.Collection; | ||
|
||
public interface Node< T > | ||
{ | ||
/** | ||
* Get the children of this {@link Tree}. | ||
* | ||
* @return The list of child {@link Tree} objects. | ||
*/ | ||
Collection< T > getChildren(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters