Skip to main content

A functional ASP solver

Project description

Funasp = Clingo + intensional functions

funasp extends clingo 6 with intensional functions that can be defined by the user. The major new syntax expression of fasp are assignment rules. The following is an example of an encoding of the graph coloring problem in funasp:

color(X) := #some{r;g;b} :- country(X).
:- neighbor(C,D), color(C)=color(D).

More examples can be found in the folder examples.

Funasp installations

conda create -n clingo6 python=3.13
conda activate clingo6
conda install -c potassco/label/dev-20 -c conda-forge clingo
git clone https://github.com/krr-uno/funasp.git
cd funasp
git pull
pip install -r requirements.txt
pip install -e .
funasp examples/family.lp

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

funasp-0.0.1.post32.tar.gz (32.5 kB view details)

Uploaded Source

Built Distribution

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

funasp-0.0.1.post32-py3-none-any.whl (37.7 kB view details)

Uploaded Python 3

File details

Details for the file funasp-0.0.1.post32.tar.gz.

File metadata

  • Download URL: funasp-0.0.1.post32.tar.gz
  • Upload date:
  • Size: 32.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for funasp-0.0.1.post32.tar.gz
Algorithm Hash digest
SHA256 0d64375f2607b508e25d824893a9cc59810fffbb6de3bd46410f61650fec2358
MD5 fa3d6ec51646c99ee7577ac98e1c6ed1
BLAKE2b-256 0292b0a44a0d6c296b6c35c0ee67af2acaf0774b04ad3e81a52b25160ca643fc

See more details on using hashes here.

Provenance

The following attestation bundles were made for funasp-0.0.1.post32.tar.gz:

Publisher: deploy.yml on krr-uno/funasp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file funasp-0.0.1.post32-py3-none-any.whl.

File metadata

  • Download URL: funasp-0.0.1.post32-py3-none-any.whl
  • Upload date:
  • Size: 37.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for funasp-0.0.1.post32-py3-none-any.whl
Algorithm Hash digest
SHA256 ae89190152a34beefd2045b96807b5dd1e6f8da0a94858e8663ce4684e5eb41a
MD5 55cad845f2cc94dc3d762bc1adb55314
BLAKE2b-256 7fffbbede3480ca3b0a4e2e265af5a1f1bbc57a4eee1a03546ebc50c49d06eca

See more details on using hashes here.

Provenance

The following attestation bundles were made for funasp-0.0.1.post32-py3-none-any.whl:

Publisher: deploy.yml on krr-uno/funasp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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