Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

TreeWidth Calculations on Molecules

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 src
Octocat-spinner-32 README.markdown
Octocat-spinner-32 tw.smi
README.markdown

Evaluates the Tree Width on molecular graphs. This code uses the libtw library to evaluate the tree decomposition and the tree width for arbitrary graphs. This repository provides an adapter class to convert a CDK IAtomContainer object to the graph data structure supported by libtw and a simple driver to read a SMILES file and report the timings and tree width values. The driver currently uses a single algorithm to get the upper bound on the tree width.

To compile and run, you should have the comprehensive CDK jar file and the libtw jar file in your CLASSPATH.

Something went wrong with that request. Please try again.