Skip to content
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

How should we view the use of the PhyloTree in our algorithms #4

Open
andrewdavidsmith opened this issue Jun 22, 2014 · 0 comments
Open
Assignees
Labels

Comments

@andrewdavidsmith
Copy link
Owner

My thinking is that for our current purpose the PhyloTree is only used once as a tree object (for each tree that we will consider) in order to construct the proper state transitions, and maybe extract branch lengths associated with state transitions.

If this is true, then we should try to keep anything related to a "neighbor" or a "state" separate from the tree itself. These are not associated with general behaviors of the tree, but rather with our specific use of the tree. Keeping this separation would reduce coupling of software components, making them more easily understood, maintained, debugged, and reused in other contexts. I think probably we can have PhyloTree as a first class object, with methods corresponding to natural and general behaviors, while still having it work just as efficiently when we use it to try and get state transition information. But I'm not completely sure. @jqujqu do you have any thoughts on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants