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

In new graph representation add validation module #151

Open
Boarders opened this issue Oct 18, 2019 · 0 comments
Open

In new graph representation add validation module #151

Boarders opened this issue Oct 18, 2019 · 0 comments

Comments

@Boarders
Copy link
Collaborator

In the new graph representation add a function validate :: Graph f c e n t -> Bool which checks that the graph we have is indeed a valid phylogenetic network in the sense in which we define it.

Using this function, define a function in the test suite which will take an arbitrary graph transformation (for instance one of the graph moves) and create a property test stating that this preserves validation. This can be used to property test graph manipulations as well as code to add e.g. add network edges.

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

No branches or pull requests

1 participant