Coroutine-based combinatorial generation

dc.contributor.authorSaba, Sahand
dc.contributor.supervisorRuskey, Frank
dc.date.accessioned2015-01-29T18:17:42Z
dc.date.available2015-01-29T18:17:42Z
dc.date.copyright2014en_US
dc.date.issued2015-01-29
dc.degree.departmentDepartment of Computer Scienceen_US
dc.degree.levelMaster of Science M.Sc.en_US
dc.description.abstractThe two well-known approaches to designing combinatorial generation algorithms are the recursive approach and the iterative approach. In this thesis a third design approach using coroutines, introduced by Knuth and Ruskey, is explored further. An introduction to coroutines and their implementation in modern languages (in particular Python) is provided, and the coroutine-based approach is introduced using an example, and contrasted with the recursive and iterative approaches. The coroutine sum, coroutine product, and coroutine symmetric sum constructs are defined to create an algebra of coroutines, and used to give concise definitions of coroutine-based algorithms for generating ideals of chain and forest posets. Afterwards, new coroutine-based variations of several algorithms, including the Steinhaus-Johnson-Trotter algorithm for generating permutations in Gray order, the Varol-Rotem algorithm for generating linear extensions in Gray order, and the Pruesse-Ruskey algorithm for generating signed linear extensions of a poset in Gray order, are given.en_US
dc.description.proquestcode0984en_US
dc.description.proquestemailsaba@uvic.caen_US
dc.description.scholarlevelGraduateen_US
dc.identifier.urihttp://hdl.handle.net/1828/5879
dc.languageEnglisheng
dc.language.isoenen_US
dc.rights.tempAvailable to the World Wide Weben_US
dc.rights.urihttp://creativecommons.org/licenses/by-sa/2.5/ca/*
dc.subjectcombinatorial generationen_US
dc.subjectcoroutinesen_US
dc.subjectpythonen_US
dc.titleCoroutine-based combinatorial generationen_US
dc.typeThesisen_US

Files

Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Saba_Sahand_MSc_2015.pdf
Size:
474.22 KB
Format:
Adobe Portable Document Format
Description:
Main thesis file.
License bundle
Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
1.74 KB
Format:
Item-specific license agreed upon to submission
Description: