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.post21.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.post21-py3-none-any.whl (51.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: funasp-0.0.1.post21.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.post21.tar.gz
Algorithm Hash digest
SHA256 6595320f1ed2713c7a866cd331bcafbfaf07660edf8b36bb624d41f27fb2bb96
MD5 a5993617123600f1121d5d5a781509b7
BLAKE2b-256 9eb68a07eedb5a561b4cecb655750a6b0327ea222e996dcfb61f36473d674349

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: funasp-0.0.1.post21-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.post21-py3-none-any.whl
Algorithm Hash digest
SHA256 303e33787032b55f3989e7face0929a8660c49d9dc7df7efb330b8538dec4dbc
MD5 1f1db87006700f76b2c3efc6303bbf83
BLAKE2b-256 62cb6f596347ca91d72a464fdff74d4229e972a69c76a25d785dec1c82e0c41f

See more details on using hashes here.

Provenance

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