Skip to main content

solve khovanov for link for both directions of each component.

Project description

link_khovanov

solve khovanov for link for both directions of each component.

Install

pip install link-khovanov

Usage

import link_khovanov

pd_code = [[10, 1, 11, 2], [12, 3, 13, 4], [14, 19, 15, 20], [18, 7, 19, 8], [16, 5, 17, 6], [4, 15, 5, 16], [6, 17, 7, 18], [20, 13, 9, 14], [2, 9, 3, 10], [8, 11, 1, 12]]

for idx, line in enumerate(link_khovanov.link_khovanov(pd_code)):
    print(f"{idx:02d}", line, "\n")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

link_khovanov-0.0.1.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

link_khovanov-0.0.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page