generator.h

来自「利用C语言实现的人工智能系统」· C头文件 代码 · 共 94 行

H
94
字号
/*
* ARTIFICIAL INTELLIGENCE SYSTEM
*
* Copyright (C) 2007-Present Intelligence Realm Inc. All rights reserved.
*
* See LICENSE.TXT document for licensing information.
*/

#ifndef HAVE_GENERATOR_H
#define HAVE_GENERATOR_H

#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <math.h>
#include "configure.h"
#include "data.h"
#include "database.h"
#include "error.h"
#include "file.h"
#include "id.h"#include "list.h"#include "object.h"#include "setting.h"
#include "simulation.h"#include "util.h"#include "uuid.h"#include "xml.h"#define DBG_GENERATION	0		#define DB_UNIQUE_FILE	1		/* unique database file that contains all tables *//* files UUID's */
char *file_object_id;
char *file_object_property_id;
char *file_object_interaction_id;
char *file_interaction_property_id;
char *file_property_value_id;
char *file_archive_property_value_id;/* external variables */
extern struct unit_type **units_list;
extern struct property_type **properties_list;
extern struct object_type **objects_list;
extern struct object_properties_type **object_properties_list;
extern struct object_interactions_type **object_interactions_list;
extern struct interaction_properties_type **interaction_properties_list;
extern struct property_values_type **property_values_list;
extern struct archive_property_values_type **archive_property_values_list;
extern struct time_type **times_list;
extern struct shape_type **shapes_list;
extern struct object_shape_type **object_shapes_list;
extern struct shape_data_type **shape_data_list;

extern struct xml_type **xml_list;

extern int unit_count;
extern int property_count;
extern int object_count;
extern int object_property_count;
extern int object_interaction_count;
extern int interaction_property_count;
extern int property_value_count;
extern int archive_property_value_count;
extern int time_count;
extern int shape_count;
extern int object_shape_count;
extern int shape_data_count;

extern double set_simulation_time_step;
extern int set_simulation_store_results;
extern int time_step_id;
extern int db_transaction_limit;
extern int db_transaction_count;
extern int xml_count;
/* external functions */
extern void free_object_interactions_list();
extern void free_objects_list();
extern void free_object_properties_list();
extern void free_property_values_list();
extern void free_archive_property_values_list();extern void db_cache_init();extern void db_cache_clear();void neuron_generator_multiple(int number_neurons);void neuron_generator_unique(int number_neurons);int main(int argc, char **argv);#endif		/* HAVE_GENERATOR_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?