Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

defines.h File Reference

#include "config.h"
#include <string>
#include "Exception.h"
#include <limits>
#include "Vector.h"
#include "Control.h"

Include dependency graph for defines.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  annie

Defines

#define ANNIE_VERSION   "0.70"
#define MAX_NEURONS_IN_LAYER   1000
#define _SIMPLE_NEURON_STRING   "SimpleNeuron"
#define _ABSTRACT_NEURON_STRING   "AbstractNeuron"
#define _PARAMETRIZED_NEURON_STRING   "ParametrizedNeuron"
#define _GAB_NEURON_STRING   "GABNeuron"
#define _CENTER_NEURON_STRING   "CenterNeuron"
#define _RECURRENT_NEURON_STRING   "RecurrentNeuron"
#define _INPUT_NEURON_STRING   "InputNeuron"
#define _KOHONEN_NEURON_STRING   "KohonenNeuron"
#define VM_ENABLED
#define ASSERT(cond)   ((void)0)
#define assert   ASSERT
#define PARANOID(assert_expression, exception_text)   { if(!(assert_expression)) throw Exception(exception_text);}
 Paranoid check (mostly function parameter checks) These are normally asserts, but...

#define CONTROL
#define SIGMOID_APPROX
#define VM(a)   if(!!defaultControl.get("verbose")) cerr << a;

Typedefs

typedef unsigned int uint


Define Documentation

#define _ABSTRACT_NEURON_STRING   "AbstractNeuron"
 

#define _CENTER_NEURON_STRING   "CenterNeuron"
 

#define _GAB_NEURON_STRING   "GABNeuron"
 

#define _INPUT_NEURON_STRING   "InputNeuron"
 

#define _KOHONEN_NEURON_STRING   "KohonenNeuron"
 

#define _PARAMETRIZED_NEURON_STRING   "ParametrizedNeuron"
 

#define _RECURRENT_NEURON_STRING   "RecurrentNeuron"
 

#define _SIMPLE_NEURON_STRING   "SimpleNeuron"
 

#define ANNIE_VERSION   "0.70"
 

#define assert   ASSERT
 

#define ASSERT cond   )     ((void)0)
 

#define CONTROL
 

#define MAX_NEURONS_IN_LAYER   1000
 

#define PARANOID assert_expression,
exception_text   )     { if(!(assert_expression)) throw Exception(exception_text);}
 

Paranoid check (mostly function parameter checks) These are normally asserts, but...

asserts are typically removed on release. The library must be (at least a bit robust) - PARANOID gives us a chance to possibly to tune robustness OR speed

#define SIGMOID_APPROX
 

#define VM  )     if(!!defaultControl.get("verbose")) cerr << a;
 

#define VM_ENABLED
 


Typedef Documentation

typedef unsigned int uint
 


Generated on Fri Jun 18 13:18:22 2004 for Annie by doxygen 1.3.5