#if !defined(AFX_GAQUEEN_H__C26AE0A3_F9B4_426F_A324_B460CC7946CB__INCLUDED_) #define AFX_GAQUEEN_H__C26AE0A3_F9B4_426F_A324_B460CC7946CB__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 class CGAQueen { public: CGAQueen(int nPopulation,int nIteration,float Mutation,int mChBoard) virtual ~CGAQueen() void Clear() // to clear chess board with 0 value void InitialPopulation() // to create the first and initial randompopulation void FillArea(int index) // to fill chess board with desired chromosome int CostFunc(int index) // determine the cost of matrix[index][index] void PopulationSort() // to sort population from the best to the worst void GenerateCrossOverMatrix() // a way to create children from parent is CcrossOver void Mating() // to create children from parents void Ap
标签: AFX_GAQUEEN_H INCLUDED defined define
上传时间: 2015-12-27
上传用户:wuyuying
This paper examines the asymptotic (large sample) performance of a family of non-data aided feedforward (NDA FF) nonlinear least-squares (NLS) type carrier frequency estimators for burst-mode phase shift keying (PSK) modulations transmitted through AWGN and flat Ricean-fading channels. The asymptotic performance of these estimators is established in closed-form expression and compared with the modified Cram`er-Rao bound (MCRB). A best linear unbiased estimator (BLUE), which exhibits the lowest asymptotic variance within the family of NDA FF NLS-type estimators, is also proposed.
标签: performance asymptotic examines non-data
上传时间: 2015-12-30
上传用户:225588
We have a group of N items (represented by integers from 1 to N), and we know that there is some total order defined for these items. You may assume that no two elements will be equal (for all a, b: a<b or b<a). However, it is expensive to compare two items. Your task is to make a number of comparisons, and then output the sorted order. The cost of determining if a < b is given by the bth integer of element a of costs (space delimited), which is the same as the ath integer of element b. Naturally, you will be judged on the total cost of the comparisons you make before outputting the sorted order. If your order is incorrect, you will receive a 0. Otherwise, your score will be opt/cost, where opt is the best cost anyone has achieved and cost is the total cost of the comparisons you make (so your score for a test case will be between 0 and 1). Your score for the problem will simply be the sum of your scores for the individual test cases.
标签: represented integers group items
上传时间: 2016-01-17
上传用户:jeffery
Visual C++ Windows Shell Programming Welcome to Visual C++ Windows Shell Programming! With this book, you ll learn how to program the Windows Shell, customize its behavior and integrate your applications with it. You ll discover how to use and modify its features to best effect, and the way to call shell API functions whose documentation is scant. Programming the shell isn t difficult, but few books explain the subject in its entirety.
标签: Programming Windows Visual Shell
上传时间: 2014-11-27
上传用户:zhangjinzj
matlab雨流算法。The rain flow algorithm code has been prepared according to the ASTM standard (Standard practices for cycle counting in fatigue analysis) and optimized considering the calculation time.
标签: algorithm according Standard prepared
上传时间: 2016-02-07
上传用户:上善若水
DESIGN PATTERNS JAVA COMPANION Design patterns began to be recognized more formally in the early 1990s by Helm (1990) and Erich Gamma (1992), who described patterns incorporated in the GUI application framework, ET++. The culmination of these discussions and a number of technical meetings was the publication of the parent book in this series, Design Patterns -- Elements of Reusable Software, by Gamma, Helm, Johnson and Vlissides.(1995). This book, commonly referred to as the Gang of Four or “GoF” book, has had a powerful impact on those seeking to understand how to use design patterns and has become an all-time best seller. We will refer to this groundbreaking book as Design Patterns, throughout this book and The Design Patterns Smalltalk Companion (Alpert, Brown and Woolf, 1998) as the Smalltalk Companion.
标签: recognized COMPANION PATTERNS patterns
上传时间: 2016-02-27
上传用户:大三三
QoS in ternet IP revolution - from “IP over everything” to “everything over IP” Current Internet guarantee: Best Effort only.
标签: everything over revolution Internet
上传时间: 2016-03-05
上传用户:小眼睛LSL
Foundations of Python Network Programming leads readers through every aspect of client and server programming with Python. Python is a new and innovative scripting language. It is set to replace Perl as the programming language of choice for scripters and for serious application developers wanting a feature rich yet simple language to deploy their products in. This book features extensive examples that not only demonstrate important concepts and practices, but also provide a cadre of fully-functional stand-alone programs. Readers can use the examples as the basis and building blocks for their own software
标签: Foundations Programming Network readers
上传时间: 2013-12-16
上传用户:小码农lz
Just what is a regular expression, anyway? Take the tutorial to get the long answer. The short answer is that a regular expression is a compact way of describing complex patterns in texts. You can use them to search for patterns and, once found, to modify the patterns in complex ways. You can also use them to launch programmatic actions that depend on patterns. A tongue-in-cheek comment by programmers is worth thinking about: "Sometimes you have a programming problem and it seems like the best solution is to use regular expressions now you have two problems." Regular expressions are amazingly powerful and deeply expressive. That is the very reason writing them is just as error-prone as writing any other complex programming code. It is always better to solve a genuinely simple problem in a simple way when you go beyond simple, think about regular expressions. Tutorial: Using regular expressions
标签: expression the tutorial regular
上传时间: 2013-12-19
上传用户:sardinescn
模式识别学习综述.该论文的英文参考文献为303篇.很有可读价值.Abstract— Classical and recent results in statistical pattern recognition and learning theory are reviewed in a two-class pattern classification setting. This basic model best illustrates intuition and analysis techniques while still containing the essential features and serving as a prototype for many applications. Topics discussed include nearest neighbor, kernel, and histogram methods, Vapnik–Chervonenkis theory, and neural networks. The presentation and the large (thogh nonexhaustive) list of references is geared to provide a useful overview of this field for both specialists and nonspecialists.
标签: statistical Classical Abstract pattern
上传时间: 2013-11-25
上传用户:www240697738