Skip to main content

Generate the state space of a Boolean network in HOA format

Project description

BNET2HOA: Boolean network into HOA format

This tool takes as input a Boolean network expressed in the .bnet format (as used, e.g., by pyboolnet and BNetToPrime). Then, it builds a HOA automaton (https://adl.github.io/hoaf/) that captures the network's state-transition graph under a hybrid (aka generalised asynchronous) update paradigm. The automaton takes as input n atomic propositions, one for each variable in the Boolean network. If the i-th proposition is set to true, the next state will update the i-th variable. Therefore:

  • Setting every AP true at every step results in the synchronous updating scheme.
  • Setting exactly one AP true at every step results in the "traditional" asynchronous updating scheme.

Options

  • --allow-stutter: Treat the input where all APs are false as a no-op (no update function is applied). Since BNs are usually not allowed to stutter, by default the tool treats this input as a synchronous update.

Dependencies

This tool depends on BNetToPrime. We always look for it in the system's PATH first. If there is no executable with that name, and we are running in Linux or macOS, we may try to use a bundled executable as a last resort. Notice that:

  • We only bundle binaries for linux-x86_64 and darwin-arm64.
  • The Linux binary was compiled with glibc 2.39.
  • We do not plan to support issues related to bundled binaries. BNetToPrime is quite easy to compile for other platforms.

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

bnet2hoa-0.3.0.tar.gz (647.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bnet2hoa-0.3.0-py3-none-any.whl (149.0 kB view details)

Uploaded Python 3

File details

Details for the file bnet2hoa-0.3.0.tar.gz.

File metadata

  • Download URL: bnet2hoa-0.3.0.tar.gz
  • Upload date:
  • Size: 647.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for bnet2hoa-0.3.0.tar.gz
Algorithm Hash digest
SHA256 b64e4bfd82384775e7737c3bb4b1b55e0f865370b9cdb35fb75a044a413f718a
MD5 ccd8d7c05efaf3b510e705c41747b4e1
BLAKE2b-256 0af7cbdc231cd41b955e867b919076642ec51c7b2ded3964fb94c73b960e12d1

See more details on using hashes here.

File details

Details for the file bnet2hoa-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: bnet2hoa-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 149.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for bnet2hoa-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3a17f47941d75f73eba6f3030e7c0375c4e1dcf92a763081529d7ffa01fa0a0d
MD5 d69cf701fa0658beb74e1deff56e491f
BLAKE2b-256 2e63e2cf46958a6a713f967bbbefd5e0e297d83538a9bd094da5151aa68ef4a8

See more details on using hashes here.

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