booldog.network

TODO doc string

Attributes

logger

Classes

BoolDogModel

A class to represent a Boolean network.

Module Contents

booldog.network.logger
class booldog.network.BoolDogModel(nodes=None, primes=None, modelinfo=None)

Bases: booldog.boolean.BooleanNetworkMixin, booldog.boolean.BooleanNetworkModificationMixin, booldog.continuous.ContinuousMixin, booldog.io.BoolDogModelIOFromMixin, booldog.io.BoolDogModelIOToMixin

A class to represent a Boolean network.

n

The number of nodes/variables in the network

Type:

int

primes

Prime implicants of the Boolean network. See PyBoolNet:prime implicants for more information.

Type:

dict

nodes

List of booldog.network.BoolDogNode objects representing the nodes

Type:

tuple of str

index

Dictionary of node name to integer index for indexing arrays

Type:

dict

nodes
_primes_cached = True
modifications = []
_set_node_ids_and_index()

Set the sorted node identifiers and index mapping to integers.

property n

Number of nodes in the network

property primes

Prime implicants of the Boolean network. See PyBoolNet:prime implicants <https://pyboolnet.readthedocs.io/en/latest/Manual.html #prime-implicants> for more information.

__repr__()
__len__()