-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcode_listing.tex
19 lines (19 loc) · 913 Bytes
/
code_listing.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
\appendix
\chapter{Source Code} % (fold)
\label{cha:source_code}
\setcounter{page}{52}
Following is the Ruby source code for the four main classes and the executable Ruby script used to run simulations based on YAML input files.
\lstset{language=Ruby, numbers=left, basicstyle=\scriptsize \tt, showstringspaces=false, commentstyle=\tt}
\lstset{title=constants.rb}
\lstinputlisting{../../../Source/Evolver/lib/evolver/constants.rb}
\lstset{title=environment.rb}
\lstinputlisting{../../../Source/Evolver/lib/evolver/environment.rb}
\lstset{title=organism.rb}
\lstinputlisting{../../../Source/Evolver/lib/evolver/organism.rb}
\lstset{title=genome.rb}
\lstinputlisting{../../../Source/Evolver/lib/evolver/genome.rb}
\lstset{title=polymerase.rb}
\lstinputlisting{../../../Source/Evolver/lib/evolver/polymerase.rb}
\lstset{title=evolver}
\lstinputlisting{../../../Source/Evolver/bin/evolver}
% chapter source_code (end)