How this calculation works
Enumerate every fixed point and periodic attractor of a small synchronous Boolean network, with complete basin sizes and transient depths.
x(t+1)=(f0(x(t)),…,fn−1(x(t))); every state in the finite deterministic state graph eventually reaches exactly one directed cycle.A worked example
For the two-bit swap map(x0,x1)↦(x1,x0), there are three attractors: fixed states00 and11 and the two-cycle01↔10. Their basin sizes are1,1 and2.
Good to know
1–10 Boolean state variables, one explicit truth table per coordinate using the declared bit order. Synchronous deterministic parallel updates only; enumerate all2^n states and all functional-graph components. Return all attractors and exact basin counts, with display caps separate from completeness. No biological prediction, asynchronous dynamics or random sampling presented as exhaustive.
Reference: BoolNet getAttractors: exhaustive synchronous state-space search (opens in a new tab) ↗
A network updates a whole state
A Boolean network assigns one update rule to each binary state variable. Applying all rules simultaneously produces the next state. Because there are only finitely many possible states and each has exactly one successor, every trajectory eventually repeats. Its recurring part is a fixed point or a directed cycle, called an attractor in this deterministic finite-state setting.
The calculator studies a vector of update rules rather than the algebraic normal form of one Boolean function. Its outputs are complete recurrent cycles and their attraction basins. Those are dynamical properties of the assembled update map. A rule’s balance or Walsh spectrum alone does not tell which cycles occur after all coordinate rules interact.
Compare this with the Boolean function algebraic normal form and Walsh spectrum calculator. Iterate a vector of Boolean update rules over every network state, returning fixed points, cycles, transient depths and full attraction basins. Existing Boolean-function analysis transforms one truth table to ANF/Walsh data and does not perform network dynamics.
State the truth-table bit order
Enter one binary truth table per coordinate. With n variables, each row contains2^n output values. Table index bit i represents xi, with x0 the least-significant index bit. This ordering determines which input state each entry describes. A visually familiar bit string can use the opposite written order, so compare the explicit index convention before copying a table from another program.
All coordinate rows must use the same n and contain only zeros and ones. The calculator’s small variable bound makes exhaustive state enumeration possible. It does not infer rules from measurements, simplify a biological network or fit a model. The supplied truth tables already define the complete mathematical system whose states will be explored.
Synchronous means simultaneous
At time t+1, every coordinate is computed from the same old state at time t. Updating x0 and then using its new value while evaluating x1 would define a sequential update scheme and can change the attractors. The stated synchronous interpretation is therefore part of the model, not a software implementation detail that can be changed arbitrarily.
Random asynchronous updates and probabilistic rule choices also define different dynamics. This page does not approximate them by sampling a few update orders. A complete synchronous result cannot establish asynchronous basins, biological stability or robustness to unspecified perturbations. Keep the update schedule with the result whenever comparing attractor counts across models or publications.
Enumerate the functional graph
Evaluate the update map at every one of the2^n states and record its unique successor. Following successor paths discovers cycles and the transient trees feeding them. A state belongs to the basin of the unique cycle it eventually reaches. Assigning every state to a cycle yields exact basin sizes under the finite deterministic model.
A transient depth counts how many updates a state needs before first reaching its attractor. A cycle state has depth zero; its cycle period is a different quantity. The algorithm must detect previously classified paths as well as new cycles so it does not count one cycle multiple times when approached from different starting states.
The two-variable swap example
For the default tables, f0 returns the old x1 and f1 returns the old x0. State00 stays00, and11 stays11. State01 moves to10, which moves back to01. Thus the system has two fixed points and one periodic attractor of length two, rather than four attractors or one basin containing every state.
Every state is already recurrent in this example, so all transient depths are zero. The fixed-point basins have one state each, while the two-cycle basin has two. The sum1+1+2=4 equals2², checking that every state was classified once. A different network may have many transient states feeding a much smaller recurrent set.
Read cycles without overcounting rotations
The same directed cycle can be written starting at any of its vertices. For example,01→10→01 and10→01→10 describe one attractor. A canonical starting state or normalized cycle representation avoids counting rotations separately. Reversing a cycle generally is not the same directed behavior unless the actual update edges also permit that reversal.
Basin size counts all starting states eventually reaching an attractor, including its cycle states. It is not the probability of that attractor under every possible experiment. Under a uniform distribution on initial states, basin size divided by2^n gives that particular initial-condition probability. Other initial distributions require their own weights and should not be silently assumed uniform.
Check complete coverage and limits
The complete basin sizes must sum to2^n, and every reported cycle edge must agree with direct truth-table evaluation. Every transient state’s successor should reduce its remaining transient depth by one until the cycle is reached. Identity, constant and all-bit-toggle maps provide useful independent test cases with simple known attractors.
A display limit can show only selected states while preserving complete numerical basin counts, provided that distinction is stated. A computation cutoff cannot support a claim that all attractors have been found. This calculator uses exhaustive small-network analysis rather than a heuristic start-state sample, and it makes no general scalability or real-system prediction claim beyond the entered finite rules.
A few questions, answered
Are all variables updated at once?
Yes. Every new coordinate uses the same old state; sequential or asynchronous updates can produce different attractors.
Do two starting points on one cycle make two attractors?
No. Cyclic rotations of the same directed orbit identify one attractor.
Is basin size an unconditional probability?
No. Dividing by2^n assumes a uniform distribution over initial states; other distributions require weights.
Does exhaustive analysis certify biological behavior?
No. It exactly analyzes the supplied finite Boolean model, not the accuracy of its rules for a real system.