Simulations were initialised with bacteria with random genotypes, and then run until evolutionary steady state was reached. Out of the 2000 simulations in the parameter sweep, 228 resulted in a KRS-system. (A) In 206 runs killer cells (genotype (On, On)), resistant cells (genotype (Off, On)) and sensitive cells (genotype (Off, Off)) coexisted, but no regulation evolved. (B) In 22 runs regulation did evolve, and in most of these (17 runs) coexistence was found between cells that regulate their toxin production but constitutively expresses resistance (genotype (Reg, On)), non-regulating resistant cells (genotype (Off, On)), and sensitive cells (genotype (Off, Off)). Parameter values for the example runs shown here are: (A) Lcue = 3.7, Ltox = 16.5, , , CR = 0.12, and CC = 0.07; (B) Lcue = 6, Ltox = 6, , , CR = 0.1, and CC = 0.02.