
A generic method for iterating a learning model, setting the current behavior and fitness to be whatever was identified as the next behavior and fitness.
iterate_learning_model.Rd
A generic method for iterating a learning model, setting the current behavior and fitness to be whatever was identified as the next behavior and fitness.
Examples
net <- make_regular_lattice(10, 4)
model <- AgentBasedModel$new(network = net)
output <- run(model, 10, interact = frequency_bias_interact,
iterate_model = iterate_learning_model)