-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Number of total leaves of a BranchSpot #10
Conversation
src/main/java/org/mastodon/mamut/feature/branch/BranchNSubBranchSpotsFeatureComputer.java
Outdated
Show resolved
Hide resolved
src/main/java/org/mastodon/mamut/feature/branch/BranchNSubBranchSpotsFeature.java
Outdated
Show resolved
Hide resolved
src/test/java/org/mastodon/mamut/feature/branch/BranchNSubBranchSpotsFeatureComputerTest.java
Outdated
Show resolved
Hide resolved
src/test/java/org/mastodon/mamut/feature/branch/BranchNSubBranchSpotsFeatureComputerTest.java
Outdated
Show resolved
Hide resolved
src/test/java/org/mastodon/mamut/feature/branch/BranchNSubBranchSpotsFeatureComputerTest.java
Outdated
Show resolved
Hide resolved
src/main/java/org/mastodon/mamut/feature/branch/BranchNSubBranchSpotsFeatureComputer.java
Outdated
Show resolved
Hide resolved
src/main/java/org/mastodon/mamut/feature/branch/BranchNSubBranchSpotsFeatureComputer.java
Outdated
Show resolved
Hide resolved
a85b73a
to
ac2298f
Compare
ac2298f
to
7c7e921
Compare
72c3aa0
to
4ecd255
Compare
5d0dffa
to
af127a2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The "BranchNLeavesFeature" seems useful.
The number of "BranchNSubBranchSpotsFeature" is mostly a duplication of the BranchNLeavesFeater and could be removed.
Both FeatureComputers should be implemented using the "DepthFirstSearch" class.
src/main/java/org/mastodon/mamut/feature/branch/BranchNLeavesFeature.java
Outdated
Show resolved
Hide resolved
src/main/java/org/mastodon/mamut/feature/branch/BranchNLeavesFeatureComputer.java
Outdated
Show resolved
Hide resolved
src/main/java/org/mastodon/mamut/feature/branch/BranchNSubBranchSpotsFeature.java
Outdated
Show resolved
Hide resolved
src/main/java/org/mastodon/mamut/feature/branch/BranchNSubBranchSpotsFeatureComputer.java
Outdated
Show resolved
Hide resolved
src/main/java/org/mastodon/mamut/feature/branch/BranchNSubBranchSpotsFeatureSerializer.java
Outdated
Show resolved
Hide resolved
src/main/java/org/mastodon/mamut/feature/branch/BranchNSubBranchSpotsFeatureComputer.java
Outdated
Show resolved
Hide resolved
src/main/java/org/mastodon/mamut/feature/branch/BranchNSubBranchSpotsFeatureComputer.java
Outdated
Show resolved
Hide resolved
src/main/java/org/mastodon/mamut/feature/branch/BranchNSubBranchSpotsFeature.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please include the changes we made during in the coding session. Everything else is all good now ❤️
Only one thing: The IntPropertyFeatureSerializer
should get a more honest name, maybe BranchSpotIntPropertyFeatureSerializer
.
* BranchNLeavesFeature represents the total number of leaves of a branch spot in its subtree. * BranchNSuccessorsFeature represents the total number of successors of a branch spot in its subtree.
Pushed theses changes.
Changed it. |
resolves #9