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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file funasp-0.0.1.post30.tar.gz.
File metadata
- Download URL: funasp-0.0.1.post30.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c632e78294162c7279be91903dc346ff29773c076e41cf6e8782fead78f54ff6
|
|
| MD5 |
b6d8d3e8890a66aa65b6ee6630e7f1e8
|
|
| BLAKE2b-256 |
8b8943862a03eeb4faa06f5a6f8b54190c120e9a85e8a19a777b7678a2f3eb0d
|
Provenance
The following attestation bundles were made for funasp-0.0.1.post30.tar.gz:
Publisher:
deploy.yml on krr-uno/funasp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
funasp-0.0.1.post30.tar.gz -
Subject digest:
c632e78294162c7279be91903dc346ff29773c076e41cf6e8782fead78f54ff6 - Sigstore transparency entry: 1861349304
- Sigstore integration time:
-
Permalink:
krr-uno/funasp@e8133eff9206ea82cf8b5ff4c2e23d840fbf95f2 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/krr-uno
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy.yml@e8133eff9206ea82cf8b5ff4c2e23d840fbf95f2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file funasp-0.0.1.post30-py3-none-any.whl.
File metadata
- Download URL: funasp-0.0.1.post30-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2d9addb4fdcba4be9f01613663881132e10b9d6caf22e6da260e6f16aecb964
|
|
| MD5 |
c23f0880c30835ad1f2806098b88b461
|
|
| BLAKE2b-256 |
47c32c1e52fb7e0be2550db5b8c839e04cfbd2c81ea9ba7b04584a52f208d50d
|
Provenance
The following attestation bundles were made for funasp-0.0.1.post30-py3-none-any.whl:
Publisher:
deploy.yml on krr-uno/funasp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
funasp-0.0.1.post30-py3-none-any.whl -
Subject digest:
a2d9addb4fdcba4be9f01613663881132e10b9d6caf22e6da260e6f16aecb964 - Sigstore transparency entry: 1861349375
- Sigstore integration time:
-
Permalink:
krr-uno/funasp@e8133eff9206ea82cf8b5ff4c2e23d840fbf95f2 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/krr-uno
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy.yml@e8133eff9206ea82cf8b5ff4c2e23d840fbf95f2 -
Trigger Event:
push
-
Statement type: