Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 1.33 KB

File metadata and controls

36 lines (26 loc) · 1.33 KB

"IncludePartialGenerations"

In case partial generations were produced, they can be automatically dropped by setting "IncludePartialGenerations" to False. Compare for instance

In[] := WolframModel[{{1, 2}} -> {{1, 3}, {1, 3}, {3, 2}},
 {{1, 1}}, <|"MaxEvents" -> 42|>]

with

In[] := WolframModel[{{1, 2}} -> {{1, 3}, {1, 3}, {3, 2}},
 {{1, 1}}, <|"MaxEvents" -> 42|>,
 "IncludePartialGenerations" -> False]

One neat use of this is producing a uniformly random evolution for a complete number of generations:

In[] := WolframModel[{{1, 2, 3}, {2, 4, 5}} ->
  {{6, 6, 3}, {2, 6, 2}, {6, 4, 2}, {5, 3, 6}},
 {{1, 1, 1}, {1, 1, 1}}, <|"MaxEvents" -> 10000|>, "FinalStatePlot",
 "EventOrderingFunction" -> "Random",
 "IncludePartialGenerations" -> False]