Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NoveltySearcher"/> class.
 /// </summary>
 /// <param name="random">
 /// The random object to use.
 /// </param>
 /// <param name="noveltySearchOptions">The options for this novelty search.</param>
 protected NoveltySearcher(Random random, NoveltySearchOptions noveltySearchOptions)
 {
     this.Random = random;
     this.NoveltySearchOptions = noveltySearchOptions;
 }
Example #2
0
 /// <summary>
 /// Advances the generation to the next generation.
 /// </summary>
 /// <param name="nso">The options to use for search.</param>
 /// <param name="other"> The other population.</param>
 /// <param name="na">The Archive of novel solutions.</param>
 /// <param name="r">The random generator to use.</param>
 /// <param name="numberOfChildren">The number of children to generate.</param>
 /// <returns>The children that are not part of this feasible/infeasible set.</returns>
 public abstract List <Solution> AdvanceGeneration(NoveltySearchOptions nso, Population other, NovelArchive na, Random r, int numberOfChildren);