How this calculation works
Choose the smallest initial seed set that activates every graph vertex under deterministic neighbor-count thresholds.
A_(t+1)=A_t ∪ {v : |N(v)∩A_t|≥θ_v}; minimize |A_0| subject to eventual activation of all vertices.A worked example
On the default five-vertex path with thresholds 1,2,2,2,1, seeding vertices 1 and 3 activates vertices 0,2,4 in the next round.
Good to know
Simple graph with 1–16 vertices and at most 120 edges; one integer threshold between zero and degree per vertex. Complete seed-subset enumeration and monotone synchronous closure. Threshold-zero nonseeds activate at round 1.
Activation depends on a local threshold
Each vertex has a nonnegative integer threshold. A currently inactive vertex activates when at least that many of its neighbors were already active at the beginning of a round. Once active it stays active, and the update is repeated until no more vertices can change. The optimization chooses the smallest set active initially.
The entered thresholds are part of the mathematical model, not probabilities estimated from data. Two graphs with the same edges but different threshold vectors can have very different optimum seed counts. Likewise, the same number of seeds can succeed in one arrangement and fail in another because their locations determine which thresholds become reachable.
Compare this with the Graph zero forcing number calculator with a propagation sequence. Choose a smallest initial active set under supplied neighbor-count thresholds. Zero forcing activates the unique white neighbor of a blue vertex, a different local rule that can yield a different optimum on the same graph.
Provide one threshold per labeled vertex
Enter all undirected edges and a threshold list indexed by vertex label. A threshold must lie between zero and that vertex’s graph degree. This restriction ensures the entered local rule is within the supported model; loops and duplicated edges are rejected so they cannot artificially inflate a neighbor count.
Disconnected graphs are allowed. A seed choice must activate every component, and a threshold-zero vertex can start propagation inside its own component without a seed. An isolated vertex necessarily has threshold zero in this interface, so its activation follows the explicitly stated zero-threshold timing convention rather than forcing an extra seed.
Distinguish rounds from initial seeds
The chosen seeds are active at round 0. Every other vertex, including a zero-threshold vertex, is evaluated at the first update and therefore can become active at round 1. During an update, newly activated vertices do not help another vertex until the following round; this is synchronous propagation.
The final closure is unchanged by a fair asynchronous update order because activation is permanent and the rule is monotone. Activation times, however, can change under asynchronous processing. This calculator reports synchronous rounds so that the displayed propagation timeline is reproducible and can be checked one complete layer at a time.
How the minimum is established
Seed subsets are tested by increasing cardinality, beginning with the empty set. For each subset, the propagation rule is simulated to its fixed point. The first subset whose closure contains all vertices is a minimum seed set because every smaller-cardinality possibility has already been examined.
Within a cardinality, labels determine a stable search order, so one valid optimum is returned rather than all alternatives. The witness consists of its seed vertices, activation rounds and per-vertex activation times. It is not enough merely to show that a small set succeeds; the completed search of smaller sizes supplies the optimality argument.
Follow the five-vertex path
The default path has endpoint thresholds 1 and interior thresholds 2. With vertices 1 and 3 seeded, endpoint 0 sees active neighbor 1, endpoint 4 sees active neighbor 3, and middle vertex 2 sees both active neighbors. All three activate together in round 1, completing the path.
One seed cannot activate the whole example. An interior unseeded vertex needs both neighbors, so a single active location cannot cross the remaining inactive interior barrier. Endpoint activation alone does not remove that requirement. The exhaustive search confirms the lower bound and returns a two-seed witness with activation-time vector (1,0,1,0,1).
Compare with other spreading rules
Zero forcing uses a different instruction: a blue vertex with exactly one white neighbor forces that neighbor. Here it is the inactive vertex’s count of active neighbors that matters, with an individually supplied threshold. The two rules can disagree even when they are applied to the same path or cycle.
Telephone broadcasting also has a different constraint: informed callers are limited to one recipient per round. Threshold activation has no calling capacity; one active vertex may simultaneously help several neighbors satisfy their thresholds. Using a result from one spreading rule as the optimum for another would change the mathematical problem rather than provide an alternative implementation.
Use the timeline and limitations
To verify a reported round, take the set active before that round and count its intersections with each newly active vertex’s neighbor list. Every count must meet the corresponding threshold, and the union of all rounds must cover every declared vertex. Extra vertices that could activate in that same round cannot be postponed arbitrarily.
This bounded exact calculator does not model random adoption, weighted influence, decay or recovery. It gives a structural minimum for the deterministic entered thresholds, not an intervention success probability. Lowering a threshold or adding an edge while keeping thresholds fixed cannot make a previously successful seed set fail; that monotonicity is another useful check when exploring examples.
A few questions, answered
Are thresholds probabilities?
No. Each threshold is an integer number of already active neighbors required for activation.
When does a zero-threshold vertex activate?
At round 1 if it is not a seed; seeds are already active at round 0.
Can active vertices become inactive?
No. This is monotone irreversible activation, so the active set only grows.
Is this the same as zero forcing?
No. Its local rule counts active neighbors at the candidate vertex instead of using the unique-white-neighbor rule.