亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? proto.h

?? 遺傳算法工具
?? H
字號:
/*
SGPC: Simple Genetic Programming in C
(c) 1993 by Walter Alden Tackett and Aviram Carmi
 
 This code and documentation is copyrighted and is not in the public domain.
 All rights reserved. 
 
 - This notice may not be removed or altered.
 
 - You may not try to make money by distributing the package or by using the
   process that the code creates.
 
 - You may not distribute modified versions without clearly documenting your
   changes and notifying the principal author.
 
 - The origin of this software must not be misrepresented, either by
   explicit claim or by omission.  Since few users ever read sources,
   credits must appear in the documentation.
 
 - Altered versions must be plainly marked as such, and must not be
   misrepresented as being the original software.  Since few users ever read
   sources, credits must appear in the documentation.
 
 - The authors are not responsible for the consequences of use of this 
   software, no matter how awful, even if they arise from flaws in it.
 
If you make changes to the code, or have suggestions for changes,
let us know!  (gpc@ipld01.hac.com)
*/

#ifndef _PROTO_H_
#define _PROTO_H_

#ifndef lint
static char proto_h_rcsid[]="$Id: proto.h,v 2.16 1993/04/29 20:39:23 gpc-avc Exp gpc-avc $";
#endif

/*
 *
 * $Log: proto.h,v $
 * Revision 2.16  1993/04/29  20:39:23  gpc-avc
 * Added checks for NaN and infinity for results of eval
 *
 * Revision 2.15  1993/04/22  07:39:12  gpc-avc
 * Removed old log messages
 *
 * Revision 2.14  1993/04/15  09:14:39  gpc-avc
 * Added bsd_qsort()
 *
 * 
 */

#if __STDC__ || defined(__cplusplus)
#define P_(s) s
#include <stddef.h>
#else
#define P_(s) ()
#endif

/* gpc.c */

int main P_((
  int	argc,
  char	**argv,
  char	**envp
  ));
void startup P_((
  int		argc,
  char		**argv,
  int		*numpops,
  int 		*numgens,
  int		*demes,
  int		*demerows,
  int		*demecols,	       
  int 		*start_gen,
  FILE		**ckpt_file,
  pop_struct 	**pop,
  pop_struct    ****grid
  ));
void run_gp_system P_((
  int		numpops,
  int  		numgens,
  int 		start_gen,
  pop_struct 	*pop,
  int		demes,
  pop_struct	***grid,
  int		demerows,
  int		demecols
  ));

/* treeio.c */
int read_terminal_set_values P_((
  pop_struct *pop,
  int p,
  FILE *f
  ));
void load_terminal_set_values P_((
  pop_struct *pop,
  int p,
  float *v
  ));
tree *read_tree P_((
  pop_struct *pop,
  int p,
  FILE *f
  ));
void write_tree P_((
  pop_struct *pop,
  tree *t,
  char *format,
  FILE *f
  ));
void pprint_tree P_((
  pop_struct *pop,
  tree *t,
  char *format,
  FILE *f,
  int level
  ));
int lookup_function_name P_((
  pop_struct *pop,
  int p,
  char *buf
  ));
int lookup_terminal_name P_((
  pop_struct *pop,
  int p,
  char *buf
  ));
void get_next_token P_((
  char *buf,
  FILE *f
  ));
void blanks P_((
  int n,
  FILE *f
  ));

/* treegen.c */
tree *create_random_tree P_((
  pop_struct *pop,
  int p,
  int max_depth,
  int root_p,
  int full_p
  ));

/* treeops.c */
tree *copy_tree P_((
  tree *t
  ));
void free_tree P_((
  tree *t
  ));
tree *create_tree_node P_((
  int pop,
  int nodetype,
  int id
  ));
void init_function P_((
  tree *t
  ));
void init_terminal P_((
  tree *t
  ));
tree *copy_function P_((
  tree *t
  ));
tree *copy_terminal P_((
  tree *t
  ));
void free_function P_((
  tree *t
  ));
void free_terminal P_((
  tree *t
  ));

/* selection.c */
tree *find_tree P_((
  pop_struct 	*pop,
  int 		p,
  int 		demes,
  int 		nrows,
  int 		ncols,
  int		*worst,
  int		*best
  ));
tree *find_tree_using_demes P_((
  pop_struct 	*pop,
  int 		p,
  int 		nrows,
  int 		ncols,
  int		*worst,
  int		*best
  ));
float random_float_with_overselect P_((
  pop_struct *pop,
  int p
  ));
tree *find_tree_using_tournament_2 P_((
  pop_struct *pop,
  int p
  ));
tree *find_tree_using_tournament P_((
  pop_struct *pop,
  int 	p,
  int	*worst,
  int	*best
  ));
tree *find_tree_using_fitnessprop P_((
  pop_struct *pop,
  int p,
  float thresh
  ));
int cannonical_select P_((
  pop_struct 	*pop,
  int 		p,
  int 		nrows,
  int 		ncols
  ));

/* crossover.c */
int count_crossover_pts P_((
  tree *t
  ));
void crossover_at_any_pt P_((
  pop_struct *pop,
  tree *p1,
  tree *p2,
  tree **o1,
  tree **o2
  ));
void crossover_at_func_pt P_((
  pop_struct *pop,
  tree *p1,
  tree *p2,
  tree **o1,
  tree **o2
  ));
void validate_crossover P_((
  pop_struct *pop,
  tree *p1,
  tree *p2,
  tree **o1,
  tree **o2
  ));
int depth_of_tree P_((
  tree *t
  ));
int count_crossover_pts P_((
  tree *t
  ));
int count_function_pts P_((
  tree *t
  ));
tree *get_subtree P_((
  tree *t,
  int n
  ));
tree *gs P_((
  tree *t,
  int *n
  ));
tree *get_function_subtree P_((
  tree *t,
  int n
  ));
tree *gfs P_((
  tree *t,
  int *n
  ));
tree **pointer_to_subtree P_((
  tree **pointer,
  tree *subt
  ));

/* populations.c */
void setup_deme_grid P_((
  int 		numpops,
  int		demerows,
  int		demecols,	       
  pop_struct 	*pop,
  pop_struct    ***grid
  ));
void allocate_populations P_((
  int numpops,
  pop_struct *pop
  ));
void initialize_populations P_((
  int numpops,
  pop_struct *pop
  ));
void breed_new_population P_((
  pop_struct *pop,
  int p,
  int demes,
  int nrows,
  int ncols,
  int steady_state			      
  ));
void free_population P_((
  pop_struct *pop,
  int p
  ));
void load_new_population P_((
  pop_struct *pop,
  int p
  ));

/* generations.c */
void generations P_((
  int		numpops,
  int		numgens,
  int		start_gen,
  pop_struct	*pop,
  int		demes,
  pop_struct	***grid,
  int		demerows,
  int		demecols
  ));
void dump_population P_((
  pop_struct *pop,
  int p
  ));
void zero_fitness_of_populations P_((
  int	     numpops,
  pop_struct *pop,
  int	     p
  ));
void sort_population_by_fitness P_((
  pop_struct *pop,
  int p
  ));
void add_parsimony_to_fitness P_((
  pop_struct *pop,
  int p
  ));
void normalize_fitness_of_population P_((
  pop_struct *pop,
  int p
  ));
void report_on_generation P_((
  int g,
  pop_struct *pop,
  int p
  ));
void report_on_run P_((
  int	     numpops,
  pop_struct *pop
  ));

/* mutation.c */
tree *mutate P_((
  pop_struct 	*pop,
  tree 		*t
  ));

/* eval.c */
GENERIC eval P_((
  tree *t
  ));

GENERIC evaluate_tree P_((
  tree *t
  ));

/* getparams.c */
void getparams P_((
  int		argc,
  char		**argv,
  int 		*numpops,
  int		*numgens,
  int		*demes,
  int		*demerows,
  int		*demecols,	       
  int 		*start_gen,
  FILE		**ckpt_file,
  pop_struct 	**pop,
  pop_struct    ****grid
  ));
void defaultparams P_((
  pop_struct *pop,
  int i
  ));
void readparams P_((
  pop_struct *pop,
  int i,
  FILE *f
  ));
void writeparams P_((
  pop_struct *pop,
  int i,
  FILE *f
  ));
void checkpoint P_((
  int           numpops,
  int           numgens,
  int           demes,
  int           demerows,
  int           demecols,
  pop_struct 	*pop,
  int		g
  ));
void recover_params P_((
  FILE		*cf,
  int           *numpops,
  int           *numgens,
  int           *demes,
  int           *demerows,
  int           *demecols,
  pop_struct	**pop,
  pop_struct    ****grid,
  int		*g
  ));


/* fitness.c */
void evaluate_fitness_of_populations P_((
  int numpops,
  int numgens,
  pop_struct *pop,
  int p
  ));
float evaluate_fitness_of_individual P_((
     pop_struct	*pop,
     int	p,
     tree	*t,
     int	i
     ));
float validate_fitness_of_tree P_((
  int numpops,
  int numgens,
  pop_struct *pop,
  int	p,
  tree *t
  ));
int terminate_early P_((
  int numpops,
  int numgens,
  pop_struct *pop
  ));
void define_fitness_cases P_((
  int numpops,
  int numgens,
  pop_struct *pop
  ));

/* setup.c */
void make_function_table P_((
  int numpops,
  pop_struct *pop
  ));
void make_terminal_table P_((
  int numpops,
  pop_struct *pop
  ));

#include "random.h"

#ifdef ANSI_FUNC

/* system library routines */

VOID setbuffer P_((
  FILE *stream,
  char *buf,
  int  size
  ));

int printf P_((
  const char *format,
  ...
  ));

int fprintf P_((
  FILE *stream,
  const char *format,
  ...
  ));

int fscanf P_((
  FILE *stream,
  const char *format,
  ...
  ));

int scanf P_((
  const char *format,
  ...
  ));

int sscanf P_((
  char *s,
  const char *format,
  ...
  ));

int getc P_((
  FILE *stream
  ));


int ungetc P_((
  int c,
  FILE *stream
  ));

int fclose P_((
  FILE *stream
  ));

FILE *fopen P_((
  const char *filename,
  const char *mode
  ));

VOID perror P_((
  const char *s
  ));

int strcasecmp P_((
  const char *s1,
  const char *s2
  ));

int isspace P_((
  int c
  ));

void *malloc P_((
  size_t size
  ));

int bsd_qsort P_((
  const void *base,
  size_t nmemb,
  size_t size,
  int (*compar) P_((
         const void *,
         const void *
         ))
   ));

#endif

#endif
;


int ungetc P_((
  int c,
  FILE *stream
  ));

int fclose P_((
  FILE *stream
  ));

FILE *fopen P_((
  const char *filename,
  const char *mode
  ));

VOID perror P_((
  const char *s
  ));

int strcasecmp P_((
  const char *s1,
  const char *s2
  ));

int isspace P_((
  int c
  ));

void *malloc P_((
  size_t size
  ));

int bsd_qsort P_((
  const void *base,
  size_t nmemb,
  size_t size,
  int (*compar) P_((
         const void *,
         const void *
         ))
   ));

#endif

#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲精品免费在线播放| 日韩欧美亚洲国产另类| 欧美日本精品一区二区三区| 欧美成人精品福利| 国产免费成人在线视频| 亚洲男人的天堂av| 免费在线一区观看| 成人激情免费网站| 欧美精品第一页| 国产欧美一区视频| 亚洲一二三区不卡| 国产成a人无v码亚洲福利| 在线视频一区二区三| 精品国产一区二区三区久久影院| 中文文精品字幕一区二区| 亚洲图片一区二区| 国产精品66部| 欧美嫩在线观看| 国产清纯白嫩初高生在线观看91 | 麻豆91在线看| av成人免费在线| 日韩欧美亚洲国产另类| 亚洲日本乱码在线观看| 久久电影网站中文字幕| 91蜜桃免费观看视频| 精品久久久久久久人人人人传媒| 亚洲人成7777| 紧缚奴在线一区二区三区| 欧美怡红院视频| 国产精品你懂的| 麻豆高清免费国产一区| 色播五月激情综合网| 久久久99免费| 蜜臀a∨国产成人精品| 在线观看日韩电影| 国产精品久久午夜夜伦鲁鲁| 精品一区二区三区蜜桃| 欧美亚洲综合另类| 国产精品伦一区| 九色综合国产一区二区三区| 欧美日韩免费在线视频| 一区二区中文视频| 国产麻豆成人传媒免费观看| 欧美一二三区在线| 亚洲成人第一页| 日本国产一区二区| 中文无字幕一区二区三区| 国内精品在线播放| 日韩一区二区不卡| 亚洲成av人片| 在线观看一区日韩| 亚洲精选一二三| 91亚洲大成网污www| 中文字幕av不卡| 国产在线精品国自产拍免费| 欧美xxxxx牲另类人与| 午夜国产精品一区| 欧美系列在线观看| 五月天激情综合| 92国产精品观看| 国产亚洲综合av| 国产成人亚洲精品青草天美| 日韩视频免费观看高清完整版 | 成人av动漫在线| 麻豆久久一区二区| heyzo一本久久综合| 中文字幕在线播放不卡一区| 色婷婷综合五月| 丝袜a∨在线一区二区三区不卡| 日韩欧美在线影院| 国产成人精品网址| 一区二区成人在线视频| 制服丝袜亚洲色图| 国内成+人亚洲+欧美+综合在线 | k8久久久一区二区三区| 一区二区三区四区不卡在线| 制服丝袜亚洲色图| 国产91清纯白嫩初高中在线观看| 综合av第一页| 91精品一区二区三区在线观看| 极品少妇xxxx偷拍精品少妇| 中文字幕一区视频| 欧美日韩免费观看一区二区三区 | 亚洲福利一区二区| 久久综合色婷婷| 日本乱人伦aⅴ精品| 蜜臀99久久精品久久久久久软件| 日本一区二区三区久久久久久久久不 | 波多野结衣视频一区| 一区二区高清免费观看影视大全| 日韩欧美国产电影| 91在线精品一区二区| 日韩经典中文字幕一区| 欧美激情一区二区三区| 欧美日本国产视频| 成人免费精品视频| 日本美女一区二区三区| 国产精品久久影院| 日韩一区二区三区高清免费看看| 成人动漫一区二区在线| 婷婷夜色潮精品综合在线| 国产清纯在线一区二区www| 欧美日韩视频在线观看一区二区三区| 精品一区免费av| 亚洲综合在线电影| 久久久久久久综合| 欧美影视一区在线| 大尺度一区二区| 日韩1区2区日韩1区2区| 中文字幕一区二区三中文字幕| 欧美一区二区在线看| 一本久久a久久免费精品不卡| 韩国女主播成人在线| 五月激情综合网| 亚洲天堂成人网| 久久久久亚洲综合| 欧美一区二区三区在| 色琪琪一区二区三区亚洲区| 国产一区二区三区综合| 日韩精品一级二级| 亚洲另类在线制服丝袜| 国产欧美日韩在线看| 日韩欧美中文字幕制服| 欧美性极品少妇| av中文字幕在线不卡| 国产精品一二三四区| 日本中文字幕一区二区有限公司| 亚洲黄色在线视频| 国产精品国产三级国产aⅴ中文| 日韩欧美成人激情| 3d成人动漫网站| 欧美在线免费观看亚洲| 日韩欧美aaaaaa| 欧美人牲a欧美精品| 在线观看视频一区二区欧美日韩| 白白色亚洲国产精品| 高清不卡一二三区| 国产一区欧美二区| 久久99蜜桃精品| 久久se这里有精品| 久久国产综合精品| 热久久一区二区| 视频一区在线播放| 性做久久久久久| 亚洲sss视频在线视频| 亚洲一区在线观看免费| 亚洲综合视频在线| 亚洲欧美福利一区二区| 亚洲欧洲国产专区| 中文字幕一区不卡| 国产精品动漫网站| 中文字幕亚洲视频| 亚洲人一二三区| 亚洲欧美日韩系列| 亚洲精品视频一区| 亚洲一区二区高清| 亚洲gay无套男同| 天堂影院一区二区| 日韩1区2区3区| 久久精品久久精品| 国产主播一区二区三区| 国产成人免费在线视频| 高清国产一区二区| caoporm超碰国产精品| 一本高清dvd不卡在线观看| 日本精品一区二区三区高清| 91黄色激情网站| 欧美日韩国产三级| 欧美夫妻性生活| 精品美女一区二区三区| 国产亚洲婷婷免费| 中文字幕一区二区三中文字幕| 亚洲精品国产无天堂网2021| 午夜私人影院久久久久| 青青草伊人久久| 国产91丝袜在线18| 色哟哟一区二区三区| 欧美久久久久中文字幕| 日韩精品一区二区三区在线观看 | 久色婷婷小香蕉久久| 美女脱光内衣内裤视频久久网站 | 欧美精品一区二区蜜臀亚洲| 欧美变态tickle挠乳网站| 精品欧美一区二区久久| 国产精品妹子av| 国产精品久久久久久福利一牛影视| 国产精品理论片在线观看| 久久嫩草精品久久久久| 中文字幕一区在线观看| 亚洲免费观看高清完整| 亚洲一区二区三区爽爽爽爽爽| 蜜臀av一区二区| 国产精品一区二区在线看| 成人免费视频免费观看| 色狠狠一区二区三区香蕉| 欧美日韩国产成人在线免费| 日韩一区二区免费高清| 日韩欧美国产麻豆| 国产精品乱人伦| 亚洲免费av观看|