generated from balacij/McMaster-Thesis-Template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathassets.tex
More file actions
227 lines (203 loc) · 9.24 KB
/
assets.tex
File metadata and controls
227 lines (203 loc) · 9.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
%------------------------------------------------------------------------------
% Code
%------------------------------------------------------------------------------
\input{assets/code/names}
\input{assets/misc/posterHelpers}
% for assets/code/example.tex...
\newcommand{\exampleCode}{\input{assets/code/example}}
\newcommand{\refExampleCode}{\Cref{lst:exampleCode}}
% for assets/code/examplePseudocode.tex...
\newcommand{\examplePseudocode}{\input{assets/code/examplePseudocode}}
\newcommand{\refExamplePseudocode}{\Cref{lst:examplePseudocode}}
% for assets/code/mainInvalidInputTest.tex...
\newcommand{\mainInvalidInputTest}{\input{assets/code/mainInvalidInputTest}}
\newcommand{\refMainInvalidInputTest}{\Cref{lst:mainInvalidInputTest}}
% for assets/code/projManualViolationReq.tex...
\newcommand{\projManualViolationReq}{\input{assets/code/projManualViolationReq}}
\newcommand{\refProjManualViolationReq}{\Cref{lst:projManualViolationReq}}
% for assets/code/projViolationChoice.tex...
\newcommand{\projViolationChoice}{\input{assets/code/projViolationChoice}}
\newcommand{\refProjViolationChoice}{\Cref{lst:projViolationChoice}}
%------------------------------------------------------------------------------
% Graphs
%------------------------------------------------------------------------------
% Organization of files
% \newcommand{\parChdGraphs}{
% % Only top or bottom to comply with IEEE guidelines
% \begin{figure}[tb!]
% \centering
% \begin{subfigure}[b]{\linewidth}
% \centering
% \includegraphics[width=\linewidth]{assets/graphs/specBasedGraph.pdf}
% \caption{``Superset'' relations.}
% \label{fig:specBasedGraph}
% \end{subfigure}
% \begin{subfigure}[t]{.45\linewidth}
% \centering
% \includegraphics[width=\linewidth]{assets/graphs/parChdLegend.pdf}
% \end{subfigure}
% \begin{subfigure}[t]{.5\linewidth}
% \centering
% \includegraphics[width=\linewidth]{assets/graphs/subsumesGraph.pdf}
% \caption{``Subsume'' relations.}
% \label{fig:subsumesGraph}
% \end{subfigure}
% \caption{Visualizations of different classes of parent-child relations.}
% \label{fig:parChdGraphs}
% \end{figure}
% }
\newcommand{\ExampleParChdGraphs}{
% Only top or bottom to comply with IEEE guidelines
\begin{figure*}[bt!]
\begin{subfigure}[b]{0.4\linewidth}
\includegraphics[width=0.9\linewidth]{assets/graphs/ExampleGlossaryGraph.pdf}
\vspace{-8mm}
\caption{Visualization from \\ \Cref{tab:exampleGlossary}.}
\label{fig:exampleGraph}
\end{subfigure}
\centering
\begin{subfigure}[b]{0.575\linewidth}
\centering
\includegraphics[width=\linewidth]{assets/graphs/manual/manualParChdLegend.pdf}
% \vspace{-4mm} % Not working for some reason
\includegraphics[width=0.8\linewidth]{assets/graphs/expExampleGlossaryGraph.pdf}
\vspace{-8mm}
\caption{Explicit visualization from \\ \Cref{tab:exampleGlossary}.}
\label{fig:expExampleGraph}
\end{subfigure}
\vspace{2mm}
\caption{Example generated visualizations of parent-child relations.}
\label{fig:exampleParChdGraphs}
\end{figure*}
}
\newcommand{\ExampleSynGraph}{
% Only top or bottom to comply with IEEE guidelines
% Currently bottom for better display
\begin{figure*}[b!]
\begin{subfigure}[c]{0.4\linewidth}
\centering
\includegraphics[width=\linewidth]{assets/graphs/SynExampleGlossaryGraph.pdf}
\caption{Visualization from \Cref{tab:synExampleGlossary}.} %\label{fig:exampleSynGraph}
\end{subfigure}
\begin{subfigure}[c]{0.575\linewidth}
\centering
\includegraphics[width=\linewidth]{assets/graphs/manual/manualSynLegend.pdf}
\end{subfigure}
\caption{Example generated visualizations of synonym relations.}\label{fig:exampleSynGraph}
\end{figure*}
}
% \begin{subfigure}[t]{0.25\linewidth}
% \centering
% \includegraphics[width=1.4\linewidth]{assets/graphs/StaticExampleGlossaryGraph.pdf}
% \caption{Static graph.}
% \label{fig:staticExampleGraph}
% \end{subfigure}
\newcommand{\ExampleFlawGraphs}{
\begin{figure*}[htbp!]
\begin{subfigure}[t]{0.19\linewidth}
\centering
\includegraphics[width=1.5\linewidth]{assets/graphs/SelfExampleGlossaryGraph.pdf}
\caption{Visualization of a reflexive parent relation.}\label{fig:selfExampleGraph}
\end{subfigure}
\hfill
\begin{subfigure}[t]{0.235\linewidth}
\centering
\includegraphics[width=\linewidth]{assets/graphs/ParSynExampleGlossaryGraph.pdf}
\caption{Visualization of a pair of terms with a parent-child \emph{and}
synonym relation.}\label{fig:parSynExampleGraph}
\end{subfigure}
\hfill
\begin{subfigure}[t]{0.47\linewidth}
\centering
\includegraphics[width=\linewidth]{assets/graphs/manual/manualFlawLegend.pdf}
\end{subfigure}
\caption{Example generated visualizations containing flaws.}\label{fig:exampleFlawGraphs}
\end{figure*}
}
\newcommand{\recoveryGraphs}{
% Only top or bottom to comply with IEEE guidelines
\begin{figure}[bt!]
\centering
\includegraphics[width=\linewidth]{assets/graphs/recoveryLegend.pdf}
\begin{subfigure}[b]{.475\linewidth}
\centering
\includegraphics[width=\linewidth]{assets/graphs/recoveryGraph.pdf}
\caption{Visualization of current relations.}
\label{fig:rec-graph-current}
\end{subfigure}
\begin{subfigure}[b]{.475\linewidth}
\centering
\includegraphics[width=\linewidth]{assets/graphs/recoveryProposedGraph.pdf}
\caption{Visualization of proposed relations.}
\label{fig:rec-graph-proposed}
\end{subfigure}
\caption{Visualizations of relations in the subset of recovery
testing.}\label{fig:recoveryGraphs}
\end{figure}
}
\newcommand{\recoveryIdealGraphs}{
\begin{figure}[h!]
\centering
\includegraphics[width=0.7\linewidth]{assets/graphs/recoveryLegend.pdf}
\begin{subfigure}[b]{.475\linewidth}
\centering
\includegraphics[width=0.8\linewidth]{assets/graphs/recoveryIdealGraph.pdf}
\caption{Visualization of current relations.}
\label{fig:rec-ideal-graph-current}
\end{subfigure}
\begin{subfigure}[b]{.475\linewidth}
\centering
\includegraphics[width=0.8\linewidth]{assets/graphs/recoveryIdealProposedGraph.pdf}
\caption{Visualization of proposed relations.}
\label{fig:rec-ideal-graph-proposed}
\end{subfigure}
\caption{Visualizations of relations in the subset of recovery testing
after\linebreak applying our recommendations.}\label{fig:recoveryIdealGraphs}
\end{figure}
}
\newcommand{\scalGraphs}{
% Only top or bottom to comply with IEEE guidelines
\begin{figure}[b!]
\centering
\includegraphics[width=\linewidth]{assets/graphs/scalabilityLegend.pdf}
\begin{subfigure}[b]{.475\linewidth}
\centering
\includegraphics[width=\linewidth]{assets/graphs/scalabilityGraph.pdf}
\caption{Visualization of current relations.}
\label{fig:scal-graph-current}
\end{subfigure}
\begin{subfigure}[b]{.475\linewidth}
\centering
\includegraphics[width=\linewidth]{assets/graphs/scalabilityProposedGraph.pdf}
\caption{Visualization of proposed \ifnotpaper \else \\ \fi relations.}
\label{fig:scal-graph-proposed}
\end{subfigure}
\caption{Visualizations of relations in the subset of scalability
testing.}\label{fig:scalGraphs}
\end{figure}
}
\newcommand{\performanceGraph}{
\begin{paperFigure}
\centering
\includegraphics[width=\linewidth]{assets/graphs/performanceProposedGraph.pdf}
\caption{Visualization of proposed relations in the subset of
performance-related testing.}\label{fig:perf-graph}
\end{paperFigure}
}
%------------------------------------------------------------------------------
% Images & Figures
%------------------------------------------------------------------------------
\newcommand{\drasilLogo}{assets/images/drasil_logo.png}
\newcommand{\drasilLogoImg}{\input{assets/images/drasil_logo}}
\newcommand{\refDrasilLogoImg}{\Cref{fig:drasilLogo}}
%------------------------------------------------------------------------------
% Tables
%------------------------------------------------------------------------------
% Organization of files
\newcommand{\organizationTable}{\input{assets/tables/organization}}
\newcommand{\ieeeCatsTable}{\input{assets/tables/ieeeCats}}
\newcommand{\otherCatsTable}{\input{assets/tables/otherCats}}
\newcommand{\otherCategorizationsTable}{\input{assets/tables/otherCategorizations}}
\newcommand{\flawMnfstsTable}{\input{assets/tables/flawMnfsts}}
\newcommand{\flawDmnsTable}{\input{assets/tables/flawDmns}}
\newcommand{\testReqsTable}{\input{assets/tables/testReqs}}