crossover: Crossover function
Description
This function causes uniform crossing over among loci in a population of
agents.
Usage
crossover(agents, prob = 0.1)
Arguments
agents
A list of agents on which crossing over will be performed
prob
The probability that crossing over happens at a locus
Value
agents The list of agents after crossing over