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

Add back infer_vtree tests #100

Open
khosravipasha opened this issue Sep 18, 2021 · 0 comments
Open

Add back infer_vtree tests #100

khosravipasha opened this issue Sep 18, 2021 · 0 comments

Comments

@khosravipasha
Copy link
Collaborator

This was the removed tests. Currently cannot load logic circuit from psdd files, so would need to go around that (find a sdd to test this on or move the test to ProbCircuits.

    little = load_logic_circuit(zoo_psdd_file("little_4var.psdd")) 
    little_vtree = zoo_vtree("little_4var.vtree")

    inferred = infer_vtree(little)::Vtree
    @test respects_vtree(little, little_vtree)
    @test respects_vtree(little, inferred)
@khosravipasha khosravipasha changed the title Add back infervtree tests Add back infer_vtree tests Oct 19, 2021
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