generateSuggestions: Function to generate suggestions to initialise the genetic...

Description Usage Arguments Value

Description

Function to generate suggestions to initialise the genetic algorithm with.

Usage

1
2
generateSuggestions(items, sample_size, n_suggestions = 1000,
  required_items = NULL)

Arguments

items

a character vector containing the items in the population

sample_size

the number of items to sample

n_suggestions

number of suggestions to initialise the GA with

required_items

character vector of any items required to be included in the solution

Value

a matrix suggestions to be passed to the genetic algorithm


damiencrone/gasample documentation built on May 20, 2019, 9:26 a.m.