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

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

?? proto.h

?? 簡單遺傳算法經典例子!! SGPC: Simple Genetic Programming in C by Walter Alden Tackett and Aviram Carmi
?? 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一区二区三区免费野_久草精品视频
日韩一卡二卡三卡国产欧美| 婷婷综合久久一区二区三区| 亚洲免费看黄网站| 久久黄色级2电影| 91麻豆福利精品推荐| 精品裸体舞一区二区三区| 亚洲欧洲综合另类| 韩国欧美国产一区| 欧美精品视频www在线观看| 国产精品美女久久久久久久 | 日韩高清在线电影| av电影在线观看完整版一区二区| 日韩精品一区二区三区在线播放| 亚洲视频一二三区| 国产河南妇女毛片精品久久久| 欧美日本一区二区| 亚洲综合激情小说| 91最新地址在线播放| 久久久久久免费网| 久久99久久久久| 日韩一区二区高清| 日韩高清不卡在线| 9191国产精品| 亚洲成人av一区二区| 欧美亚洲禁片免费| 一区二区激情视频| 91久久一区二区| 国产精品大尺度| 成人伦理片在线| 欧美国产精品一区| 国产成人福利片| 国产日韩欧美亚洲| 成人小视频免费观看| 国产三级精品在线| 懂色一区二区三区免费观看| 久久影院午夜论| 国产原创一区二区| 欧美激情一区三区| 成人福利电影精品一区二区在线观看| 国产视频一区在线播放| 国产成人av在线影院| 国产精品色一区二区三区| 成人手机电影网| 亚洲精品免费视频| 欧美天堂一区二区三区| 免费国产亚洲视频| 亚洲精品在线电影| 丁香啪啪综合成人亚洲小说| 国产精品亲子伦对白| 色综合天天做天天爱| 亚洲一区二区免费视频| 日韩一区二区中文字幕| 狠狠色丁香婷婷综合| 日本一二三不卡| 色综合网色综合| 日韩精品每日更新| 久久久久久久久久久久久久久99 | 欧美一级片免费看| 国产一区在线不卡| 国产精品日日摸夜夜摸av| 色8久久精品久久久久久蜜| 午夜欧美视频在线观看| 精品国产电影一区二区| eeuss鲁片一区二区三区| 亚洲成a人片综合在线| 久久精品人人做| 精品视频在线免费| 国产乱淫av一区二区三区 | 久久免费看少妇高潮| 91网站在线观看视频| 日精品一区二区三区| 亚洲国产精品国自产拍av| 日本韩国精品一区二区在线观看| 奇米精品一区二区三区四区| 欧美激情资源网| 欧美日韩一级二级| 成人丝袜18视频在线观看| 亚洲国产精品久久久男人的天堂 | 久久成人免费网| 亚洲视频一区二区在线观看| 欧美一卡2卡三卡4卡5免费| 91女厕偷拍女厕偷拍高清| 精品在线观看免费| 亚洲综合在线免费观看| 欧美激情一区二区在线| 91精品国产免费久久综合| 色综合久久综合网| 国产高清在线观看免费不卡| 亚洲第一会所有码转帖| 国产精品麻豆一区二区| 欧美成人猛片aaaaaaa| 欧美在线影院一区二区| 成人午夜免费视频| 激情六月婷婷久久| 日本三级亚洲精品| 一区二区高清免费观看影视大全| 国产亚洲va综合人人澡精品 | 久久精品国内一区二区三区| 亚洲精品精品亚洲| 中文字幕在线一区免费| 国产亚洲欧洲一区高清在线观看| 日韩一区二区免费在线观看| 欧美裸体bbwbbwbbw| 日本精品视频一区二区| 91蝌蚪国产九色| av爱爱亚洲一区| 国产91丝袜在线观看| 国产一区不卡视频| 国产一区91精品张津瑜| 精彩视频一区二区| 久久成人久久爱| 久久91精品久久久久久秒播| 蜜臀va亚洲va欧美va天堂 | 亚洲成人动漫一区| 亚洲午夜免费视频| 亚洲高清免费观看| 一区二区在线看| 亚洲在线视频网站| 午夜精品久久久久久久| 婷婷丁香久久五月婷婷| 日韩1区2区日韩1区2区| 蜜桃一区二区三区在线| 激情亚洲综合在线| 成人a区在线观看| 一本一道久久a久久精品| 色婷婷一区二区三区四区| 欧美午夜精品电影| 欧美日韩国产另类一区| 91精品国产91综合久久蜜臀| 日韩一区二区三区观看| 亚洲精品一区二区三区福利| 久久久国际精品| 亚洲色欲色欲www在线观看| 一区二区三区日韩欧美精品| 午夜精品国产更新| 国产一区亚洲一区| 99这里只有精品| 欧美老女人第四色| 精品久久免费看| 国产精品情趣视频| 午夜欧美一区二区三区在线播放| 久久国产精品第一页| 成人综合在线视频| 欧美性色欧美a在线播放| 2023国产精华国产精品| 中文字幕一区二区三区四区不卡| 一区二区三区欧美在线观看| 久久精品国产一区二区三 | 欧美人动与zoxxxx乱| 欧美成人精品二区三区99精品| 国产精品视频一二三| 三级久久三级久久| 成人av网站免费观看| 欧美精品色综合| 国产精品无圣光一区二区| 午夜a成v人精品| a级精品国产片在线观看| 91精品国产一区二区| 1024精品合集| 国内欧美视频一区二区 | 成人美女在线观看| 精品视频免费在线| 国产精品日日摸夜夜摸av| 蜜臀精品久久久久久蜜臀 | 26uuu精品一区二区| 亚洲宅男天堂在线观看无病毒| 国产精品1区二区.| 欧美精品欧美精品系列| 中文字幕一区二区三中文字幕| 久久国产精品72免费观看| 欧美日韩一本到| 亚洲天堂成人在线观看| 国产精品自拍一区| 日韩一区二区三| 亚洲h动漫在线| 日本大香伊一区二区三区| 国产精品丝袜久久久久久app| 麻豆成人免费电影| 欧美精品三级日韩久久| 亚洲欧美一区二区三区孕妇| 国产成人综合自拍| 精品对白一区国产伦| 免费成人在线观看视频| 欧美日韩综合在线免费观看| 亚洲人吸女人奶水| 不卡视频在线看| 国产亚洲精品久| 国产剧情一区在线| 欧美精品一区在线观看| 麻豆精品视频在线| 日韩午夜av一区| 免费在线观看不卡| 日韩欧美一级片| 蜜臀99久久精品久久久久久软件| 欧美电影在线免费观看| 亚洲成av人片| 欧美日韩国产免费| 日本一不卡视频| 欧美va在线播放| 国产麻豆视频一区|