
Examples:
=========

This directory includes some example of the use of Tree2C:

* Financial service
  Random forest example with multiple output.

* Random forest
  Random forest example with binary output.

* Random forest MOPAC 
  Random forest example with binary output based on MOPAC parameters with
  C-script target.

* Random forest MOPAC SUPER
  Random forest example with binary output based on superdelocalization
  parameters calculated by MOPAC with C-script target.

* Random tree
  Simple random tree with binary output.


About the scripts:
==================

* Make_Java.cmd
  - Target: any.
  - Build the Java source code and create the jar archive.
 
* Make_Linux.sh
  - Target: Linux x86 (x86 32 bit) and Linux x64 (x86 64 bit)
  - Build the C source code as static and dynamic library by gcc.
  - Build the C++ source code as static library by g++.
  - Build the Fortran 90 source code as static library by gfortran.

* Make_Mingw32.cmd
  - Target: Windows x86 (x86 32 bit)
  - Build the C source code as static and dynamic library (DLL) by gcc.
  - Build the C++ source code as static library by g++.
  - Build the Fortran 90 source code as static library by gfortran.

* Make_Mingw64.cmd
  - Target: Windows x64 (x86 64 bit)
  - Build the C source code as static and dynamic library (DLL) by gcc.
  - Build the C++ source code as static library by g++.
  - Build the Fortran 90 source code as static library by gfortran.

* Make_Src.cmd
  - Generate the code (C, C-script, Fortran 90, Java, JavaScript, JScript, Lua,
    PHP, Python, REBOL) from Weka tree and ARFF data file.

* Make_Tcc.cmd
  - Target: Windows x86 (x86 32 bit) and Windows x64 (x86 64 bit)
  - Build the C source code as static and dynamic library (DLL) by TinyC (tcc,
    included in VEGA ZZ).

* DIRECTORY_NAME_java.cmd
  DIRECTORY_NAME_java.sh
  Run the Java example for test purposes.

* DIRECTORY_NAME_javascript.cmd
  DIRECTORY_NAME_javascript.sh
  Run the Java example for test purposes.

* DIRECTORY_NAME_php.cmd
  DIRECTORY_NAME_php.sh
  Run the PHP example for test purposes.

* DIRECTORY_NAME_python.cmd
  DIRECTORY_NAME_python.sh
  Run the Python example for test purposes.

* DIRECTORY_NAME_rebol.cmd
  DIRECTORY_NAME_rebol.sh
  Run the REBOL example for test purposes.
  
About the subdirectories:
=========================

Both Random forest and Random tree directories include the binaries of the
decision tree (as static and dynamc library) and the test example (as executable)
built for different targets as:

* G++_Linux_x64_static
  C++ static library for Linux x64 built with g++.

* G++_Linux_x86_static
  C++ static library for Linux x64 built with g++.

* Gcc_Linux_x64_dynamic
  C dynamic link library for Linux x64 built with gcc.
  
* Gcc_Linux_x64_static
  C static library for Linux x64 built with gcc.

* Gcc_Linux_x86_dynamic
  C dynamic link library for Linux x86 built with gcc.

* Gcc_Linux_x86_static
  C static library for Linux x86 built with gcc.
  
* Gfortran_Linux_x64_static
  Fortran 90 library for Linux x64 built with gfortran.

* Gfortran_Linux_x86_static
  Fortran 90 static library for Linux x86 built with gfortran.

* Java
  Java classes and jar archive built with javac.

* Mingw32_DLL
  C dynamic link library for Windows x86 built with Mingw32 (gcc).

* Mingw32_g++
  C++ static library for Windows x86 built with Mingw32 (g++).

* Mingw32_gfortran
  Fortran 90 static library for Windows x86 built with Mingw32 (gfortran).

* Mingw32_static
  C static library for Windows x86 built with Mingw32 (gcc).
  
* Mingw64_DLL
  C dynamic link library for Windows x64 built with Mingw64 (gcc).

* Mingw64_g++
  C++ static library for Windows x64 built with Mingw64 (g++).

* Mingw64_gfortran
  Fortran 90 static library for Windows x64 built with Mingw64 (gfortran).

* Mingw64_static
  C static library for Windows x64 built with Mingw64 (gcc).
  
* RADS_CPP
  C++ static library for Android, Windows x64 and x86 built with RAD Studio
  10.2.3 Tokyo.

* RADS_DLL
  C dynamic link library for Windows x64 and x86 built with RAD Studio 10.2.3
  Tokyo.

* RADS_static
  C static library for Android, Windows x64 and x86 built with RAD Studio
  10.2.3 Tokyo.

* Tcc_Win32_DLL
  C dynamic link library for Windows x86 built with TinyC (tcc).

* Tcc_Win32_static
  C static library for Windows x86 built with TinyC (tcc).

* Tcc_Win64_DLL
  C dynamic link library for Windows x64 built with TinyC (tcc).

* Tcc_Win64_static
  C static library for Windows x64 built with TinyC (tcc).
