Skip to main content

Implements a finite, negative, totally ordered monoid together with methods to compute its one-element Rees coextensions

Project description

fntom

This package contains an implementation of the algorithm that serves to find all the one-element Rees co-extensions of a given finite, negative totally ordered monoid (abbreviated by f. n. tomonoid).

Note that a commutative f. n. tomonoid represents a conjunction in the semantics of a many-valued (fuzzy) logic that has finitely many totally ordered logical values.

Installation

Install the package from PyPI utilizing the pip module:

python -m pip install fntom

Alternatively, you can download and unpack this package and install it by:

python -m pip install path

where path refers to the directory where setup.py is present.

Example

The following program defines a f. n. tomonoid with the Cayley table:

0 x y z 1
0 0 0 x z
0 0 0 0 y
0 0 0 0 x
0 0 0 0 0

Subsequently, it finds all its commutative one-element Rees co-extensions and displays both the f. n. tomonoid and its co-extensions on the terminal output:

    import fntom
    counter = fntom.Counter()
    xyzTable = [['0' ,'x' ,'y' ,'z' ,'1'],
                ['0' ,'0' ,'0' ,'x' ,'z'],
                ['0' ,'0' ,'0' ,'0' ,'y'],
                ['0' ,'0' ,'0' ,'0' ,'x'],
                ['0' ,'0' ,'0' ,'0' ,'0']]
    fntom = fntom.FNTOMonoid(counter.getNew(), xyzTable = xyzTable)
    coextensions = fntom.computeCoExtensions(counter, commutative = True)
    fntom.show()
    for coext in coextensions:
        coext.show()

Documentation

For a detailed decription of the program and its purpose, see the documentation generated by pdoc3 in the directory docs/ or read the papers listed in References below.

References

For the theoretical description of the problem and for the description of the algorithm se the paper:

  • M. Petrik and Th. Vetterlein. Rees coextensions of finite, negative tomonoids. Journal of Logic and Computation 27 (2017) 337-356. DOI: 10.1093/logcom/exv047, PDF.

For a more detailed description of the algorithm see the papers:

  • M. Petrik and Th. Vetterlein. Algorithm to generate finite negative totally ordered monoids. In: IPMU 2016: 16th International Conference on Information Processing and Management of Uncertainty in Knowledge-Based Systems. Eindhoven, Netherlands, June 20-24, 2016. PDF.

  • M. Petrik and Th. Vetterlein. Algorithm to generate the Archimedean, finite, negative tomonoids. In: Joint 7th International Conference on Soft Computing and Intelligent Systems and 15th International Symposium on Advanced Intelligent Systems. Kitakyushu, Japan, Dec. 3-6, 2014. DOI: 10.1109/SCIS-ISIS.2014.7044822. PDF.

For more details on one-element co-extensions of finite, negative, tomonoids see the paper:

  • M. Petrik and Th. Vetterlein. Rees coextensions of finite tomonoids and free pomonoids. Semigroup Forum 99 (2019) 345-367. DOI: 10.1007/s00233-018-9972-z, PDF.

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

fntom-0.2.0.tar.gz (118.2 kB view details)

Uploaded Source

Built Distribution

fntom-0.2.0-py3-none-any.whl (47.8 kB view details)

Uploaded Python 3

File details

Details for the file fntom-0.2.0.tar.gz.

File metadata

  • Download URL: fntom-0.2.0.tar.gz
  • Upload date:
  • Size: 118.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

File hashes

Hashes for fntom-0.2.0.tar.gz
Algorithm Hash digest
SHA256 98263d0147d3007c2fb3f3aa2242614711373c4510e009c905e91a8a314a8347
MD5 0666df7d5983063395d909cf88cc7aaa
BLAKE2b-256 ad651976609e4135b1bbfe2b5a137e8ab4d262ccf8a33f73ec33dacb69804da4

See more details on using hashes here.

File details

Details for the file fntom-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: fntom-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 47.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

File hashes

Hashes for fntom-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1faaab0947014c0e0c42cf45f92fdc2e1afefed8f090676753860804365756a1
MD5 6388431f316308f76e13708e13245656
BLAKE2b-256 adce38c6e1c59975c1c38fe619138fb8324b09ad38d90a75a0a3661300123361

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page