Generation of tests against a greedy algorithm for the knapsack problem using an evolutionary algorithm

Vladimir Mironovich, Maxim Buzdalov

Research output: Chapter in Book/Report/Conference proceedingConference Proceeding (Non-Journal item)

Abstract

Generation of tests for programming challenge tasks can be difficult when it is needed to cover wrong solutions (i.e. greedy algorithms) that use certain tricks (i.e. random shuffling of input data) to decrease the number of tests with wrong answers. In this paper, generation of tests for the knapsack problem is considered. Several tests that make a certain class of incorrect solutions fail with high probability are generated using an evolutionary algorithm.

Original languageEnglish
Title of host publication20th International Conference on Soft Computing
Subtitle of host publicationEvolutionary Computation, Genetic Programming, Swarm Intelligence, Fuzzy Logic, Neural Networks, Fractals, Bayesian Methods, MENDEL 2014
Pages77-82
Number of pages6
Volume2014-January
Publication statusPublished - 2014
Externally publishedYes
Event20th International Conference on Soft Computing: Evolutionary Computation, Genetic Programming, Swarm Intelligence, Fuzzy Logic, Neural Networks, Fractals, Bayesian Methods, MENDEL 2014 - Brno, Czech Republic
Duration: 25 Jun 201427 Jun 2014

Publication series

NameMendel
ISSN (Print)1803-3814

Conference

Conference20th International Conference on Soft Computing: Evolutionary Computation, Genetic Programming, Swarm Intelligence, Fuzzy Logic, Neural Networks, Fractals, Bayesian Methods, MENDEL 2014
Country/TerritoryCzech Republic
CityBrno
Period25 Jun 201427 Jun 2014

Keywords

  • Algorithm verification
  • Evolutionary algorithms
  • Greedy algorithm
  • Knapsack problem
  • Randomized algorithm
  • Test generation

Fingerprint

Dive into the research topics of 'Generation of tests against a greedy algorithm for the knapsack problem using an evolutionary algorithm'. Together they form a unique fingerprint.

Cite this