6.1.3 The SimAnimal Class

The SimAnimal class is used for pedigree simulation, which is described in Section 3.8. All simulated pedigrees have the format code asdxg, and those are the only class attributes (Table 6.5). This class is intended for use only by the pedigree simulation routines, so the lack of attributes and methods as compared to the NewAnimal class is a deliberate design decision.
Attributes of SimAnimal objects. Attribute & Default & Description

\begin{xtabular}{l\vert l\vert p{4in}}
animalID & animal ID & Animal's ID. \\
...
...female, \texttt{'u'} = unknown. \\
sireID & 0 & Sire's ID. \\
\end{xtabular}
SimAnimal objects have only three methods (Table 6.6).
Methods of SimAnimal objects. Method & Description

\begin{xtabular}{l\vert p{4in}}
\_\_init\_\_ & Initializes a \class{SimAnimal} ...
...s the data stored in a \class{SimAnimal} object as a string. \\
\end{xtabular}
See About this document... for information on suggesting changes.