nddsg / treedecomps Goto Github PK
View Code? Open in Web Editor NEWTree Decompositions on Graph Grammars
Tree Decompositions on Graph Grammars
@tweninger the error I get when I try to derive rules from a .dimacs.tree
file, which is generated using INDDGO:
chr() arg not in range(256)
Traceback (most recent call last):
File "tredec.phrg.py", line 163, in
main()
File "tredec.phrg.py", line 158, in main
dimacs_td_ct(args['clqtree'], args['orig']) # gen synth graph
File "tredec.phrg.py", line 106, in dimacs_td_ct
td.new_visit(T, G, prod_rules)
File "/home/saguinag/Research/TreeDecomps/tdec/tree_decomposition.py", line 211, in new_visit
new_visit(subtree, G, prod_rules, indent=indent+2, parent=node)
File "/home/saguinag/Research/TreeDecomps/tdec/tree_decomposition.py", line 206, in new_visit
add_to_prod_rules(prod_rules, itx, rhs, s)
File "/home/saguinag/Research/TreeDecomps/tdec/tree_decomposition.py", line 244, in add_to_prod_rules
letter=chr(ord(letter) + 1)
ValueError: chr() arg not in range(256)
Recreate the error:
python tredec.phrg.py --orig /data/saguinag/datasets/time_stamped_datasets/out.CollegeMsg --clqtree datasets/CollegeMsg_mcs.dimacs.tree
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.