
/*******************************************
****    File generated by Tree2C V1.0   ****
**** (c) 2017-2019, Alessandro Pedretti ****
*******************************************/


#ifndef __T2C_RANDOM_TREE_H
#  define  __T2C_RANDOM_TREE_H

/**** Windows DLL ****/

/*
 * Define T2C_DLL to build and use the DLL
 */

#  ifdef T2C_DLL
#    include <windows.h>

#    if defined(__BORLANDC__) || defined(__TINYC__)
#      define  T2C_EXPORT        WINAPI
#    else
#      define  T2C_EXPORT
#    endif
#    define  T2C_EXTERN          __declspec(dllexport)
#  else
#    define  T2C_EXPORT
#    define  T2C_EXTERN          extern
#  endif

/**** Output values ****/

#  define  T2C_RANDOM_TREE_FALSE            0
#  define  T2C_RANDOM_TREE_TRUE             1

/**** Values of the attributes ****/

#  define  T2C_RANDOM_TREE_FG_CON2_NO       0
#  define  T2C_RANDOM_TREE_FG_CON2_YES      1
#  define  T2C_RANDOM_TREE_FG_COOH_NO       0
#  define  T2C_RANDOM_TREE_FG_COOH_YES      1
#  define  T2C_RANDOM_TREE_FG_COOR_NO       0
#  define  T2C_RANDOM_TREE_FG_COOR_YES      1
#  define  T2C_RANDOM_TREE_FG_F_NO          0
#  define  T2C_RANDOM_TREE_FG_F_YES         1
#  define  T2C_RANDOM_TREE_FG_PHOH_NO       0
#  define  T2C_RANDOM_TREE_FG_PHOH_YES      1

/**** Data types ****/

typedef struct {
  float    Angles;
  float    Atoms;
  float    Bonds;
  float    ChiralAtms;
  float    Dipole;
  float    EzBnds;
  int      FG_CON2;
  int      FG_COOH;
  int      FG_COOR;
  int      FG_F;
  int      FG_PhOH;
  float    FlexTorsions;
  float    Gyrrad;
  float    HbAcc;
  float    HbDon;
  float    HeavyAtoms;
  float    Lipole;
  float    Mass;
  float    Ovality;
  float    Psa;
  float    Rings;
  float    Sas;
  float    Sav;
  float    Sdiam;
  float    Torsions;
  float    Vdiam;
  float    VirtualLogP;
} T2C_RANDOM_TREE_INPUT;

/**** Prototypes ****/

#  ifdef __cplusplus
   extern "C" {
#  endif

T2C_EXTERN int      T2C_EXPORT T2C_RANDOM_TREE_Classify(T2C_RANDOM_TREE_INPUT *Input);
T2C_EXTERN int      T2C_EXPORT T2C_RANDOM_TREE_DomCheck(T2C_RANDOM_TREE_INPUT *Input);

#  ifdef __cplusplus
   }
#  endif
#endif
