BNMPy.booleanNetwork¶
- class BNMPy.booleanNetwork.BooleanNetwork(numberOfNodes, linkages, functions, initialNodeValues=None, outputFilePath='', nodeDict=None, equations=None)[source]¶
Boolean network object…
Methods
buildK
()This rebuilds the K array.
knockout
(key, value)Sets a specific node to be permanently fixed to a given value.
setInitialValue
(key, value)Sets a particular node to a given initial value, where the key is indexed in nodeDict.
setInitialValues
(initialNodeValues)Sets the initial values of the boolean network.
Undoes all knockouts.
updateUntilAttractorIsReached
(giveUpIterations)update_noise
(p[, iterations])getBias
getMaxConnectivity
getMeanConnectivity
getRealization
getTrajectory
initializeOutput
stateToWrite
toGraph
update
writeNetworkHistory