FILES:

readme		This file, of course.

Makefile	This is the `Makefile' for the flight simulator program.

simulate.C	The main program which includes the learning algorithm
		if the `LEARNING' macro is defined.  It was designed
		to be fairly independent of the actual simulation and
		could be used to train an artificial neural controller
		for any non-linear computer model.

simulate.h	Header file included by `simulate.C'.

umisc.C	Defines the functions which constitute the interface
		between the main program and the actual simulation.

control.C	Conventional control function (not used).

adatin.C aircac.C  altfn.C b05fcn.C b08fcn.C  ccalc.C cgcalc.C
datinp.C dedbnd.C derivc.C engdin.C engine.C engmdl.C engsdl.C
engtlu.C flimit.C headin.C  icset.C   init.C initac.C instrm.C
limtin.C rlimnp.C    tlu.C uengin.C   vcal.C
		
		Define functions converted from Fortran to C++ using
		A Fortran-to-C Converter, `f2c'.  All these files
		were substantially modified after the conversion.
		The converter does not actually write C++ code.
		It uses the `extern "C" { ... }' mechanism to force
		the C++ compiler to interpret the output as C code.
		These were commented out so that the code would be
		interpreted as C++.  Builtin function declarations
		were removed and included in the `Builtin.h' header file.
		Since many of the variables are actually constants read
		from data files, any `doublereal' which did not depend
		on any of the independent variables was manually changed
		to type `double' in order to save space and simplify
		the computation.  The `init.C' code was rewritten
		to explicitly initialize both the initial state
		and the derivative of the initial state.  Other changes
		to the code were made to improve readability.
		The Fortran source code is in the `fortran' directory.
		It has also been substantially modified from the original
		Fortran source that came with the AIAA Aircraft Controls
		Design Challenge computer model.

f2c.h		Header file included by all of the converted files
		modified to include derivative arithmetic
		if the `LEARNING' macro is defined.

Builtin.h	Header file included by `f2c.h' for builtin Fortran
		function declarations.

arithmetic.h	Header file included by `f2c.h' which includes derivative
		arithmetic if the `LEARNING' macro is defined.  Otherwise,
		it defines `doublereal' to be type `double'.

variables.h	Header file included by `doublereal.C' and `arithmetic.h'
		which defines the number of state variables, `n', control
		variables, `k', and independent variables, `VARIABLES',
		for the `doublereal' derivative arithmetic class.

doublereal.C	Defines functions used for derivative arithmetic.

doublereal.h	Header file included by `doublereal.C' and `arithmetic.h'
		which defines the `doublereal' derivative arithmetic class.
		
real.hP		Prototype header file used by the `genclass' script to
		create the `doublereal.h' header file.

real.ccP	Prototype source file used by the `genclass' script to
		create the `doublereal.C' source file.

