⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 objfunc.hpp

📁 这是遗传算法的源代码
💻 HPP
字号:
// -*- c++ -*-
//
//  File:         objfunc.hpp
//
//  Description:  Declarations of the functions in objfunc.cpp
//				  This file needn't be changed.
//
//  Author:       Fernando Lobo
//
//  Date:         June/1999
//
//  Extended to deal with chi-ary problems by Luis de la Ossa
//  GCC 3.4 and 4 series compliance by Kumara Sastry 
//
//  Date:         March/2006

#ifndef _objfunc_hpp
#define _objfunc_hpp
#include "chromosome.hpp"

// Set up the objective function.
void set_objective_function();
// Call to the objective function.
double objfunc( chromosome &x );
double objective_func( int *chrom, int lchrom );

#endif



⌨️ 快捷键说明

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