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 ============================================================================*/ 00028 #ifndef NE_DYN_VEC_H 00029 #define NE_DYN_VEC_H 00030 00031 00038 typedef struct { 00039 int curSize; 00040 int totSize; 00041 int dataSize; 00042 double **data; 00043 } ne_dyn_vec_t; 00044 00045 00047 ne_dyn_vec_t * ne_dyn_vec_alloc (int dataSize); 00048 00050 void ne_dyn_vec_free (ne_dyn_vec_t *vec); 00051 00053 void ne_dyn_vec_append_item (ne_dyn_vec_t *vec, double *data); 00054 00056 int ne_dyn_vec_extend_fn (int curSize); 00057 00058 00059 #endif /* NE_DYN_VEC_H */