Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cdc-counting
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Radek Hušek
cdc-counting
Commits
157aed9b
Commit
157aed9b
authored
4 years ago
by
Radek Hušek
Browse files
Options
Downloads
Patches
Plain Diff
test_exp_cdc.sh: check returned gadgets
parent
5ff3ddca
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
experiments/test_exp_cdc.sh
+2
-1
2 additions, 1 deletion
experiments/test_exp_cdc.sh
with
2 additions
and
1 deletion
experiments/test_exp_cdc.sh
+
2
−
1
View file @
157aed9b
...
...
@@ -41,7 +41,7 @@ if True:
import json
from graph_tools.misc import graph_to_gadget
from graph_tools.parameters import CircuitDoubleCover
from graph_tools.parameters import CircuitDoubleCover
, UnderlayingGraph
from sage.all import Graph
from parmap import parmap
...
...
@@ -50,6 +50,7 @@ if True:
gadget = graph_to_gadget(G)
real = gadget.eval(CircuitDoubleCover)
exp = 2**(G.num_verts() // 2) // 2
assert G.is_isomorphic(gadget.eval(UnderlayingGraph))
j = {
"cdc_count": real,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment