Git Product home page Git Product logo

treedecomps's People

Contributors

abitofalchemy avatar s-aguinaga avatar tweninger avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

abitofalchemy

treedecomps's Issues

ValueError: chr() arg not in range(256)

@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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.