=============
What is FAdo?
=============
The **FAdo** system aims to provide an open source extensible high-performance software library for the symbolic
manipulation of automata and other models of computation.
To allow high-level programming with complex data structures, easy prototyping of algorithms, and portability
(to use in computer grid systems for example), are its main features. Our main motivation is the theoretical
and experimental research, but we have also in mind the construction of a pedagogical tool for teaching automata
theory and formal languages.
-----------------
Regular Languages
-----------------
It currently includes most standard operations for the manipulation of regular languages. Regular languages can
be represented by regular expressions (RegExp) or finite automata, among other formalisms. Finite automata may
be deterministic (DFA), non-deterministic (NFA) or generalized (GFA). In **FAdo** these representations are implemented
as Python classes.
Elementary regular languages operations as union, intersection, concatenation, complementation and reverse are
implemented for each class. Also several other regular operations (e.g shuffle) and combined operations are available for specific models.
* Several conversions between these representations are implemented:
* NFA -> DFA: subset construction
* NFA -> RE: recursive method
* GFA -> RE: state elimination, with possible choice of state orderings (several heuristics)
* RE -> NFA: Thompson, Glushkov/Position, epsilon-Follow, Follow, Partial Derivatives (naive and compressed RE), Prefix; and their duals.
* SRE -> DFA: Brzozowski (SRE are RegExp ACIA, using sets)
* RE -> DFA: AuPoint (Marked before) and YMG (Marked after)
* For DFAs several minimization algorithms are available: Moore, Hopcroft, and some incremental algorithms. Brzozowski minimization is available for NFAs.
* An algorithm for hyper-minimization of DFAs
* For DFAs tests for reversability
* Language equivalence of two DFAs can be determined by reducing their correspondent minimal DFA to a canonical form, or by the Hopcroft and Karp algorithm.
* For NFAs reductions by left and right bisimilarity
* Enumeration of the first words of a language or all words of a given length (Cross Section)
* Some support for the transition semigroups of DFAs
----------------
Finite Languages
----------------
Special methods for finite languages are available:
* Construction of a ADFA (acyclic finite automata) from a set of words
* Minimization of ADFAs
* Several methods for ADFAs random generation
* Methods for deterministic cover finite automata (DCFA)
* Special methods for Block languages where all words have the same length
-----------
Transducers
-----------
Several methods for transducers in standard form (SFT) are available:
* Rational operations: union, inverse, reversal, composition, concatenation, Star
* Test if a transducer is functional
* Input intersection and Output intersection operations
-----
Codes
-----
A *language property* is a set of languages. Given a property specified by a transducer, several language tests are possible.
* Satisfaction i.e. if a language satisfies the property
* Maximality i.e. the language satisfies the property and is maximal
* Properties implemented by transducers include: input preserving, input altering, trajectories, and fixed properties
* Computation of the edit distance of a regular language, using input altering transducers
----
PRAX
----
Polynomial Random Approximation Algorithms allow to decide hard automata problems considering cetrain natural distributions on set of words.
In particular, using the notion of approximate universality
* Test NFA universality for finite languagens
* Test NFA universality for infinite languages using tractable word distributions (Lambert and Dirichlet)
Raw data
{
"_id": null,
"home_page": "https://fado.dcc.fc.up.pt",
"name": "FAdo",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.10",
"maintainer_email": null,
"keywords": "automata_theory, formal_languages, regular_expressions, transducers",
"author": "Rogerio Reis",
"author_email": "rogerio.reis@fc.up.pt",
"download_url": "https://files.pythonhosted.org/packages/22/68/4cacecf84359bea0d9eb8d60c320d794b8d9d525c0cf9f5ef5bd964d10ce/fado-2.2.0.tar.gz",
"platform": null,
"description": "=============\nWhat is FAdo?\n=============\n\nThe **FAdo** system aims to provide an open source extensible high-performance software library for the symbolic\nmanipulation of automata and other models of computation.\n\nTo allow high-level programming with complex data structures, easy prototyping of algorithms, and portability\n(to use in computer grid systems for example), are its main features. Our main motivation is the theoretical\nand experimental research, but we have also in mind the construction of a pedagogical tool for teaching automata\ntheory and formal languages.\n\n-----------------\nRegular Languages\n-----------------\n\nIt currently includes most standard operations for the manipulation of regular languages. Regular languages can\nbe represented by regular expressions (RegExp) or finite automata, among other formalisms. Finite automata may\nbe deterministic (DFA), non-deterministic (NFA) or generalized (GFA). In **FAdo** these representations are implemented\nas Python classes.\n\n\n\nElementary regular languages operations as union, intersection, concatenation, complementation and reverse are\nimplemented for each class. Also several other regular operations (e.g shuffle) and combined operations are available for specific models.\n\n\n\n* Several conversions between these representations are implemented:\n\n * NFA -> DFA: subset construction\n\n * NFA -> RE: recursive method\n\n * GFA -> RE: state elimination, with possible choice of state orderings (several heuristics)\n\n * RE -> NFA: Thompson, Glushkov/Position, epsilon-Follow, Follow, Partial Derivatives (naive and compressed RE), Prefix; and their duals.\n\n * SRE -> DFA: Brzozowski (SRE are RegExp ACIA, using sets)\n\n * RE -> DFA: AuPoint (Marked before) and YMG (Marked after)\n\n* For DFAs several minimization algorithms are available: Moore, Hopcroft, and some incremental algorithms. Brzozowski minimization is available for NFAs.\n\n* An algorithm for hyper-minimization of DFAs\n\n* For DFAs tests for reversability \n\n* Language equivalence of two DFAs can be determined by reducing their correspondent minimal DFA to a canonical form, or by the Hopcroft and Karp algorithm.\n\n* For NFAs reductions by left and right bisimilarity\n\n* Enumeration of the first words of a language or all words of a given length (Cross Section)\n\n* Some support for the transition semigroups of DFAs\n\n----------------\nFinite Languages\n----------------\n\nSpecial methods for finite languages are available:\n\n* Construction of a ADFA (acyclic finite automata) from a set of words\n\n* Minimization of ADFAs\n\n* Several methods for ADFAs random generation\n\n* Methods for deterministic cover finite automata (DCFA)\n \n* Special methods for Block languages where all words have the same length\n\n-----------\nTransducers\n-----------\n\nSeveral methods for transducers in standard form (SFT) are available:\n\n* Rational operations: union, inverse, reversal, composition, concatenation, Star\n\n* Test if a transducer is functional\n\n* Input intersection and Output intersection operations\n\n-----\nCodes\n-----\n\nA *language property* is a set of languages. Given a property specified by a transducer, several language tests are possible.\n\n* Satisfaction i.e. if a language satisfies the property\n\n* Maximality i.e. the language satisfies the property and is maximal\n\n* Properties implemented by transducers include: input preserving, input altering, trajectories, and fixed properties\n\n* Computation of the edit distance of a regular language, using input altering transducers\n\n\n----\nPRAX\n----\n\nPolynomial Random Approximation Algorithms allow to decide hard automata problems considering cetrain natural distributions on set of words.\n\nIn particular, using the notion of approximate universality\n\n* Test NFA universality for finite languagens\n\n* Test NFA universality for infinite languages using tractable word distributions (Lambert and Dirichlet) \n\n \n \n",
"bugtrack_url": null,
"license": "GPL-3.0-or-later",
"summary": "A library of tools to manipulate formal languages' representations mainly automata and regular expressions.",
"version": "2.2.0",
"project_urls": {
"Documentation": "https://www.dcc.fc.up.pt/~rvr/FAdoDoc",
"Homepage": "https://fado.dcc.fc.up.pt"
},
"split_keywords": [
"automata_theory",
" formal_languages",
" regular_expressions",
" transducers"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "aa4d515319c5a46ce309cdd29c0670c753b9564ad32aa0f4ff020573d7851710",
"md5": "6e069a5cb35e8ec017e96dedfd6de9b2",
"sha256": "4f382df66017c2496ae4046b622effa58ceb2f849ab27e3777eb0fe7f57a25fd"
},
"downloads": -1,
"filename": "fado-2.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6e069a5cb35e8ec017e96dedfd6de9b2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.10",
"size": 180105,
"upload_time": "2024-04-01T19:02:24",
"upload_time_iso_8601": "2024-04-01T19:02:24.219686Z",
"url": "https://files.pythonhosted.org/packages/aa/4d/515319c5a46ce309cdd29c0670c753b9564ad32aa0f4ff020573d7851710/fado-2.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "22684cacecf84359bea0d9eb8d60c320d794b8d9d525c0cf9f5ef5bd964d10ce",
"md5": "d393c11b109719fc107c31bf229cde3c",
"sha256": "977b9bdfe164270c4fbcc1587b86be3aa73549d6b48f623132b83d82b26c0f3d"
},
"downloads": -1,
"filename": "fado-2.2.0.tar.gz",
"has_sig": false,
"md5_digest": "d393c11b109719fc107c31bf229cde3c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.10",
"size": 162955,
"upload_time": "2024-04-01T19:02:26",
"upload_time_iso_8601": "2024-04-01T19:02:26.335955Z",
"url": "https://files.pythonhosted.org/packages/22/68/4cacecf84359bea0d9eb8d60c320d794b8d9d525c0cf9f5ef5bd964d10ce/fado-2.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-01 19:02:26",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "fado"
}