Skip to content

internetguru/scpc

Repository files navigation

branch status
main tests
dev tests

Simplicial Complex Property Check (SCPC)

The script detects the simplicial complex closure properties from STDIN. Outputs labeling if property is detected. See exit codes below.

Usage: Google Collab

Usage: Web UI

Local usage

  • Compile and set permissions

    wget https://raw.githubusercontent.com/martapavelka/scpc/dev/scpc.ipynb
    jupyter nbconvert --to python scpc.ipynb
    chmod +x scpc.py
  • Run the script, e.g.

    echo "1 2 3
    4 5 6
    7 8 9" | ./scpc.py --property under-closed

Exit Codes

  • 0 Property detected
  • 1 Unexpected exception
  • 2 Invalid usage
  • 3 Does not have property