[18ebc28] | 1 | % T I T L E P A G E |
---|
| 2 | % ------------------- |
---|
| 3 | % Last updated August 16, 2022, by IST-Client Services |
---|
| 4 | % The title page is counted as page `i' but we need to suppress the |
---|
| 5 | % page number. Also, we don't want any headers or footers. |
---|
| 6 | \pagestyle{empty} |
---|
| 7 | \pagenumbering{roman} |
---|
| 8 | |
---|
| 9 | % The contents of the title page are specified in the "titlepage" |
---|
| 10 | % environment. |
---|
| 11 | \begin{titlepage} |
---|
| 12 | \begin{center} |
---|
| 13 | \vspace*{1.0cm} |
---|
| 14 | |
---|
| 15 | \Huge |
---|
| 16 | {\bf Enumerated Types in \CFA} |
---|
| 17 | |
---|
| 18 | \vspace*{1.0cm} |
---|
| 19 | |
---|
| 20 | \normalsize |
---|
| 21 | by \\ |
---|
| 22 | |
---|
| 23 | \vspace*{1.0cm} |
---|
| 24 | |
---|
| 25 | \Large |
---|
| 26 | Jiada Liang \\ |
---|
| 27 | |
---|
| 28 | \vspace*{3.0cm} |
---|
| 29 | |
---|
| 30 | \normalsize |
---|
| 31 | A thesis \\ |
---|
[caaf424] | 32 | presented to the University of Waterloo \\ |
---|
[18ebc28] | 33 | in fulfillment of the \\ |
---|
| 34 | thesis requirement for the degree of \\ |
---|
| 35 | Master of Mathematics \\ |
---|
| 36 | in \\ |
---|
| 37 | Computer Science \\ |
---|
| 38 | |
---|
| 39 | \vspace*{2.0cm} |
---|
| 40 | |
---|
| 41 | Waterloo, Ontario, Canada, \the\year \\ |
---|
| 42 | |
---|
| 43 | \vspace*{1.0cm} |
---|
| 44 | |
---|
| 45 | \copyright{} Jiada Liang \the\year \\ |
---|
| 46 | \end{center} |
---|
| 47 | \end{titlepage} |
---|
| 48 | |
---|
| 49 | % The rest of the front pages should contain no headers and be numbered using Roman numerals starting with `ii' |
---|
| 50 | \pagestyle{plain} |
---|
| 51 | \setcounter{page}{2} |
---|
| 52 | |
---|
| 53 | \cleardoublepage % Ends the current page and causes all figures and tables that have so far appeared in the input to be printed. |
---|
| 54 | % In a two-sided printing style, it also makes the next page a right-hand (odd-numbered) page, producing a blank page if necessary. |
---|
| 55 | \phantomsection % allows hyperref to link to the correct page |
---|
| 56 | |
---|
| 57 | \begin{comment} |
---|
| 58 | % E X A M I N I N G C O M M I T T E E (Required for Ph.D. theses only) |
---|
| 59 | % Remove or comment out the lines below to remove this page |
---|
| 60 | \addcontentsline{toc}{chapter}{Examining Committee} |
---|
| 61 | \begin{center}\textbf{Examining Committee Membership}\end{center} |
---|
| 62 | \noindent |
---|
| 63 | The following served on the Examining Committee for this thesis. The decision of the Examining Committee is by majority vote. |
---|
| 64 | \bigskip |
---|
[caaf424] | 65 | |
---|
[18ebc28] | 66 | \noindent |
---|
| 67 | \begin{tabbing} |
---|
| 68 | Internal-External Member: \= \kill % using longest text to define tab length |
---|
[caaf424] | 69 | External Examiner: \> Bruce Bruce \\ |
---|
[18ebc28] | 70 | \> Professor, Dept. of Philosophy of Zoology, University of Wallamaloo \\ |
---|
[caaf424] | 71 | \end{tabbing} |
---|
[18ebc28] | 72 | \bigskip |
---|
[caaf424] | 73 | |
---|
[18ebc28] | 74 | \noindent |
---|
| 75 | \begin{tabbing} |
---|
| 76 | Internal-External Member: \= \kill % using longest text to define tab length |
---|
| 77 | Supervisor(s): \> Ann Elk \\ |
---|
| 78 | \> Professor, Dept. of Zoology, University of Waterloo \\ |
---|
| 79 | \> Andrea Anaconda \\ |
---|
| 80 | \> Professor Emeritus, Dept. of Zoology, University of Waterloo \\ |
---|
| 81 | \end{tabbing} |
---|
| 82 | \bigskip |
---|
[caaf424] | 83 | |
---|
[18ebc28] | 84 | \noindent |
---|
| 85 | \begin{tabbing} |
---|
| 86 | Internal-External Member: \= \kill % using longest text to define tab length |
---|
| 87 | Internal Member: \> Pamela Python \\ |
---|
| 88 | \> Professor, Dept. of Zoology, University of Waterloo \\ |
---|
| 89 | \end{tabbing} |
---|
| 90 | \bigskip |
---|
[caaf424] | 91 | |
---|
[18ebc28] | 92 | \noindent |
---|
| 93 | \begin{tabbing} |
---|
| 94 | Internal-External Member: \= \kill % using longest text to define tab length |
---|
| 95 | Internal-External Member: \> Meta Meta \\ |
---|
| 96 | \> Professor, Dept. of Philosophy, University of Waterloo \\ |
---|
| 97 | \end{tabbing} |
---|
| 98 | \bigskip |
---|
[caaf424] | 99 | |
---|
[18ebc28] | 100 | \noindent |
---|
| 101 | \begin{tabbing} |
---|
| 102 | Internal-External Member: \= \kill % using longest text to define tab length |
---|
| 103 | Other Member(s): \> Leeping Fang \\ |
---|
| 104 | \> Professor, Dept. of Fine Art, University of Waterloo \\ |
---|
| 105 | \end{tabbing} |
---|
| 106 | |
---|
| 107 | \cleardoublepage |
---|
| 108 | \end{comment} |
---|
| 109 | |
---|
| 110 | % D E C L A R A T I O N P A G E |
---|
| 111 | % ------------------------------- |
---|
| 112 | % The following is a sample Declaration Page as provided by the GSO |
---|
| 113 | % December 13th, 2006. It is designed for an electronic thesis. |
---|
| 114 | \addcontentsline{toc}{chapter}{Author's Declaration} |
---|
| 115 | \begin{center}\textbf{Author's Declaration}\end{center} |
---|
[caaf424] | 116 | |
---|
[18ebc28] | 117 | \noindent |
---|
| 118 | I hereby declare that I am the sole author of this thesis. This is a true copy of the thesis, including any required final revisions, as accepted by my examiners. |
---|
| 119 | |
---|
| 120 | \bigskip |
---|
[caaf424] | 121 | |
---|
[18ebc28] | 122 | \noindent |
---|
| 123 | I understand that my thesis may be made electronically available to the public. |
---|
| 124 | |
---|
| 125 | \cleardoublepage |
---|
| 126 | \phantomsection % allows hyperref to link to the correct page |
---|
| 127 | |
---|
| 128 | % A B S T R A C T |
---|
| 129 | % --------------- |
---|
| 130 | \addcontentsline{toc}{chapter}{Abstract} |
---|
| 131 | \begin{center}\textbf{Abstract}\end{center} |
---|
| 132 | |
---|
[f9da761] | 133 | An enumeration is a type defining an ordered set of named constant values, where a name abstracts a value, \eg @PI@ versus @3.145159@. |
---|
[956299b] | 134 | C restrict an enumeration type to the integral type @signed int@, which \CC support , meaning enumeration names bind to integer constants. |
---|
| 135 | \CFA extends C enumerations to allow all basic and custom types for the enumeration type, like other modern programming languages. |
---|
| 136 | Furthermore, \CFA adds other useful features for enumerations to support better software-engineering practices and simplify program development. |
---|
[18ebc28] | 137 | |
---|
| 138 | \cleardoublepage |
---|
| 139 | \phantomsection % allows hyperref to link to the correct page |
---|
| 140 | |
---|
| 141 | % A C K N O W L E D G E M E N T S |
---|
| 142 | % ------------------------------- |
---|
| 143 | \addcontentsline{toc}{chapter}{Acknowledgements} |
---|
| 144 | \begin{center}\textbf{Acknowledgements}\end{center} |
---|
| 145 | |
---|
| 146 | I would like to thank all the little people who made this thesis possible. |
---|
| 147 | |
---|
| 148 | Finally, a special thank you to Huawei Canada for funding this work. |
---|
| 149 | |
---|
| 150 | \cleardoublepage |
---|
| 151 | \phantomsection % allows hyperref to link to the correct page |
---|
| 152 | |
---|
| 153 | \begin{comment} |
---|
| 154 | % D E D I C A T I O N |
---|
| 155 | % ------------------- |
---|
| 156 | \addcontentsline{toc}{chapter}{Dedication} |
---|
| 157 | \begin{center}\textbf{Dedication}\end{center} |
---|
| 158 | |
---|
| 159 | This is dedicated to the one I love. |
---|
| 160 | \cleardoublepage |
---|
| 161 | \end{comment} |
---|
| 162 | |
---|
| 163 | % T A B L E O F C O N T E N T S |
---|
| 164 | % --------------------------------- |
---|
| 165 | \renewcommand\contentsname{Table of Contents} |
---|
| 166 | \tableofcontents |
---|
| 167 | \cleardoublepage |
---|
| 168 | \phantomsection % allows hyperref to link to the correct page |
---|
| 169 | |
---|
| 170 | % L I S T O F F I G U R E S |
---|
| 171 | % ----------------------------- |
---|
| 172 | \addcontentsline{toc}{chapter}{List of Figures} |
---|
| 173 | \listoffigures |
---|
| 174 | \cleardoublepage |
---|
| 175 | \phantomsection % allows hyperref to link to the correct page |
---|
| 176 | |
---|
| 177 | % L I S T O F T A B L E S |
---|
| 178 | % --------------------------- |
---|
| 179 | \addcontentsline{toc}{chapter}{List of Tables} |
---|
| 180 | \listoftables |
---|
| 181 | \cleardoublepage |
---|
| 182 | \phantomsection % allows hyperref to link to the correct page |
---|
| 183 | |
---|
[caaf424] | 184 | \begin{comment} |
---|
[18ebc28] | 185 | % L I S T O F A B B R E V I A T I O N S |
---|
| 186 | % --------------------------- |
---|
| 187 | \renewcommand*{\abbreviationsname}{List of Abbreviations} |
---|
| 188 | \printglossary[type=abbreviations] |
---|
| 189 | \cleardoublepage |
---|
| 190 | \phantomsection % allows hyperref to link to the correct page |
---|
| 191 | |
---|
| 192 | % L I S T O F S Y M B O L S |
---|
| 193 | % --------------------------- |
---|
| 194 | \printglossary[type=symbols] |
---|
| 195 | \cleardoublepage |
---|
| 196 | \phantomsection % allows hyperref to link to the correct page |
---|
| 197 | \end{comment} |
---|
| 198 | |
---|
| 199 | % Change page numbering back to Arabic numerals |
---|
| 200 | \pagenumbering{arabic} |
---|