• Main Page
  • Data Structures
  • Files
  • File List
  • Globals

ne_std.h

Go to the documentation of this file.
00001 /*===========================================================================
00002  NetEvo Foundation Library
00003  Copyright (C) 2009, 2010 Thomas E. Gorochowski <tgorochowski@me.com>
00004  Bristol Centre for Complexity Sciences, University of Bristol, Bristol, UK
00005  ---------------------------------------------------------------------------- 
00006  NetEvo is a computing framework designed to allow researchers to investigate 
00007  evolutionary aspects of dynamical complex networks. By providing tools to 
00008  easily integrate each of these factors in a coherent way, it is hoped a 
00009  greater understanding can be gained of key attributes and features displayed 
00010  by complex systems.
00011  
00012  NetEvo is open-source software released under the Open Source Initiative 
00013  (OSI) approved Non-Profit Open Software License ("Non-Profit OSL") 3.0. 
00014  Detailed information about this licence can be found in the COPYING file 
00015  included as part of the source distribution.
00016  
00017  This library is distributed in the hope that it will be useful, but
00018  WITHOUT ANY WARRANTY; without even the implied warranty of
00019  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00020  ============================================================================*/
00027 #ifndef NE_STD_H
00028 #define NE_STD_H
00029 
00030 #define NE_HUGE_NUMBER 99999999
00031 
00033 typedef int ne_int_t;
00034 
00036 typedef double ne_real_t;
00037 
00039 typedef enum {
00040    FALSE = 0,
00041    TRUE  = 1
00042 } ne_bool_t;
00043 
00045 typedef enum {
00046    NE_SUCCESS         = 0, 
00047    NE_FAILURE         = 1, 
00048    NE_MEM_ALLOC_ERROR = 2, 
00049    NE_RANGE_ERROR     = 3, 
00050    NE_NULL_ERROR      = 4  
00051 } ne_err_code_t;
00052 
00053 
00059 void ne_init (unsigned int rngSeed);
00060 
00066 void ne_finalise (void);
00067 
00073 void ne_error (const char *fmt, ...);
00074 
00080 void ne_log   (const char *fmt, ...);
00081 
00082 #endif /* NE_STD_H */

Generated on Thu Aug 26 2010 11:04:24 for NetEvo by  doxygen 1.7.1