Skip to main content

A functional ASP solver

Project description

fasp installations

clingo 6 API: https://potassco.org/clingo-preview/python-api/clingo.html

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/fasp.git
cd fasp
git pull
pip install -r requirements.txt
pip install -e .
fasp examples/family.lp

fasp

fasp extends clingo 6 with evaluable functions. The major new syntax expression of fasp are assignment rules. These are rules of the forms:

f(t1) := t2 :- Body.
{ f(t1) := t2 } :- Body.
f(t1) := #sum{ X : p(X) } :- Body.

where f is a function symbol and t1 and t2 are terms. As an example, assignment fact

father(cain)=adam.

means that assigns the value adam to father(cain).

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.post22.tar.gz (43.0 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.post22-py3-none-any.whl (51.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for funasp-0.0.1.post22.tar.gz
Algorithm Hash digest
SHA256 ac70524eaab21691ac38cdbb7dfd158d27c76654497c9f887317769dfd2ca699
MD5 455596740eae7eb952dbc62f33b68de6
BLAKE2b-256 df5168584333b8cd275a5f384bd39ed840cf83fb3ffb31feaa4aa92ebbf8be25

See more details on using hashes here.

Provenance

The following attestation bundles were made for funasp-0.0.1.post22.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.post22-py3-none-any.whl.

File metadata

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

File hashes

Hashes for funasp-0.0.1.post22-py3-none-any.whl
Algorithm Hash digest
SHA256 11d6600ad693f03aa95804f9ad47c6eba2c3ec581c393de3bf67450f700ad4ea
MD5 dbf547e68d199059ad127a280659209c
BLAKE2b-256 1c87fe3f97cefd60f3a3910d937e681cece555d4d5a9adcd58427e97dd797507

See more details on using hashes here.

Provenance

The following attestation bundles were made for funasp-0.0.1.post22-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