public PopulationGenerator(IProblemDecoder problemDecoder, int nonProfitDestinations) { ProblemDecoder = problemDecoder; AmountOfDestinations = problemDecoder.Provider.GetAmountOfDestinations(); PopulationSize = 8; Generation = 0; NonProfitDestinations = nonProfitDestinations; }
public EncodedSolution(IProblemDecoder problemDecoder, List<RandomKey> randomKeys) { ProblemDecoder = problemDecoder; RandomKeys = randomKeys; }