Evolutionary Petri Net
======================
*Evolutionary Petri Nets* (EPN) is a convenient tool for the automatic
inference, optimization, and reverse engineering of Petri Nets (PNs). The
library exploits the evolutionary computation methodology described in [1].
WARNING: this is a preliminary alpha release.
EPN can be used as follows:
#!/usr/bin/env python
from epn.hpn import *
from epn.evolpn import *
from epn.basic import *
POPULATION = 10
E = EvolutionaryPetriNet()
E.setPopulationSize(POPULATION)
E.useTournament(size=2)
E.setIterations(100)
for p in range(POPULATION):
p = ResizablePetriNet("H"+str(p))
E.addHPN(p)
E.mutate()
E.setFitnessFunction( ... )
E.Optimize()
EPN can produce output figures of the PNs by using the dot/graphviz library.
For this reason, EPN relies on the external library pydot. The current state
of the whole EPN can be outputted with the following command:
E.dumpToFile("output.png")
Basics
======
EPNs does not directly handle PNs, but it exploits an extended class named
*Resizable Petri Net* (RPN). A population of RPNs undergoes an evolutionary
process, in which the best individuals are iteratively modified and improved
by means of crossover and mutation operators. The evolutive pressure is driven
by a user-defined fitness function.
The programmer is given the freedom of choosing
* the population size;
* one of the selection mechanism (roulette wheel, ranking, tournament);
* the maximum number of iterations;
* the pre- and post-order of transitions (see [1] for further information).
Thanks also to
--------------
EPNs have been developed by a joint effort of M.S. Nobile and G. Mauri
(University of Milan-Bicocca, Italy), D. Besozzi (University of Milan, Italy)
and P. Cazzaniga (University of Bergamo, Italy).
Further information:
[1] Nobile, Besozzi, Cazzaniga and Mauri, "The Foundations of Evolutionary
Petri Nets", Proceedings of the 4th International Workshop on Biological
Processes & Petri Nets (BioPPN 2013), a satellite event of PETRI NETS 2013
(G. Balbo and M. Heiner, eds.), CEUR Workshop Proceedings Vol. 988, 60-74, 2013
<http://www.disco.unimib.it/go/45712>
Metadata
Release files for EPN 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| EPN-0.1.1.zip | 20.0 kB | Without provenance | Details for EPN-0.1.1.zip |
Release files / EPN-0.1.1.zip
| Download URL | EPN-0.1.1.zip |
|---|---|
| Size | 20.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
50fdb13de5c24790d4885a0a9f5acd2180669a383eb4d5744fce7fdbd9737198
|
|
BLAKE2b-256 checksum How to use checksums |
884a6249abd2342909ac51db04ace8d8b2048586ca6b60d69cc4cc8a15e95fc9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for EPN 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.