A Naïve Five-Element String Algorithm

A Naïve Five-Element String Algorithm

JOURNAL OF SOFTWARE, VOL. 4, NO. 9, NOVEMBER 2009 925 A Naïve Five-Element String Algorithm Yanhong Cui University of Cape Town, Private Bag, Rondebosch 7701, Cape Town, South Africa Email: [email protected] Renkuan Guo and Danni Guo University of Cape Town, Private Bag, Rondebosch 7701, Cape Town, South Africa South African National Biodiversity Institute, Claremont 7735, Cape Town, South Africa Email: [email protected] ; [email protected] Abstract—In this paper, we propose a new global philosophy and its potential scientific value is often optimization algorithm inspired by the human life model in regarded as nonsense, pseudo-science or waste of times. Chinese Traditional Medicine and graph theory, which is Scientists more tend to believe part-theory based genetic named as naïve five-element string algorithm. The new engineering rather than TCM. We are not resisting any algorithm utilizes strings of elements from member set advancements in science and technology, however, we {0,1,2,3,4} to represent the values of candidate solutions (typically represented as vectors in n-dimensional Euclidean also have to accept the cruel realities: only 30% of the space). Except the mathematical operations for evaluating patients or illness could be cured by modern western the objective function, sort procedure, creating initial medicine, and on other hand, no less than 30% of the population randomly, the algorithm only involves if-else patients or illness could be cured by traditional medical logical operation. In contrast to existing global optimization treatments. More and more people accept traditional algorithms, the five-element algorithm engages the simplest medical treatments because of cost-saving and mathematics but reaches the highest searching efficiency. effectiveness, for example, acupuncture and moxibustion from TCM. The theoretical foundation guiding TCM is Index Terms—global optimization, five-element string, ancient Chinese Yin-yang and Wu-Xing doctrines. Yin- genetic algorithm, sort, naïve string algorithm yang concept plays roles in other scientific fields too. The link between Yin-Yang representation and binary number I. INTRODUCTION system is already well-known, and it is not difficult to reveal certain root of GA in Yin-Yang doctrine. We Optimization is one of challenging and active notice that a common rule guiding TCM doctors: mathematical research branches. Particularly, the topic of identifying and eliminating factors causing in-balances global optimization is of critical importance because of within patient’s body system and strengthening these the high demand and wide applications in science, factors leading the patient to his/her harmonious state business, economy, and industry. according to five-element (Wu-Xing) doctrine. A natural Natural world is always the best teacher since the question arises inevitably: is it possible to create an human society started, for example, fire usage, planting algorithm for searching global optimum with a root in crops, hunting animals, Kungfu exercises, and so on. five-element (Wu-Xing) doctrine? A faith inspires us is Many global optimization algorithms are imitating the that TCM medical exercises are nothing but seek human behavior of biological world, for example, genetic body system optimal state, with the aid of Yin-Yang, algorithm (abbreviated as GA), ant colony algorithm, five-element (Wu-Xing) system model. monkey algorithm, etc. However, those biological- The five-element doctrine (Wu-Xing) is different from imitated algorithms are direct “copy” of natural Greek theory of four elements in formality, but both are evolution. It is necessary to mention that ancient atomic theory of substances. Ancient philosophers scientists and philosophers had established many abstract believed that five elements: ‘metal’, ‘wood’, ‘water’, biological models for human life and natural living- ‘fire’, ‘earth’, constitute of the world. People started beings, for example, Yin-Yang and five elements (Wu- using the features of five-element to explain the changing Xing) are among them. Yin-Yang and five elements (Wu- of the object world in terms of the five-element’s Xing) doctrines are still active in guiding today’s generation and deduction relationship for evolving into Traditional Chinese Medicine (abbreviated as TCM next sub-balanced state. However, the ever-changing practices. nature of object world would repeatedly evolutions along In today’s part-theory dominated western scientific the direction of generation and deduction until the system communities, exploration of an ancient Chinese reaches its intrinsic harmonious state, even it is temporary but relatively stable. In other words, theory of five elements (Wu-Xing) as a Chinese ancient philosophy was Manuscript received December 2, 2008; revised January 19, 2009; not a merely five-substance constitution of existing accepted February 4, 2009. Corresponding author: Renkuan Guo, Department of Statistical objects or systems surround us but more critically the Sciences, University of Cape Town, Rondebosch 7701, South Africa. theory of five elements provides the guidance for people © 2009 ACADEMY PUBLISHER doi:10.4304/jsw.4.9.925-934 926 JOURNAL OF SOFTWARE, VOL. 4, NO. 9, NOVEMBER 2009 to seek the intrinsic harmonious state of a system under optimization searched by GA, the “global” minimal value investigation. This is the reason why Traditional Chinese 0.11935 at ( xy,) = ( 0.681,0.477) is reported. Medicine is using the so-called Five-Element Doctrine as The case of GA’s “failure” to search the true global its foundation because an individual human being in good minimum (for given computing time) here inspires us to health is nothing but is in a harmonious state. consider the fundamental weakness of GA. It is noticed Definitely, our new five-element global optimization that GA, as a global optimization algorithm, differs from searching algorithm is not simulating ancient five- many other algorithms. element objects, instead, we has established a dedicated link between mathematical objective function under Let f ()x be the objective function, where investigation and the simulated population of five- xxx=∈⊂(), T DR2 . In many optimization searching element strings help the accomplishment of the optimal 12 solution searching. In other words, the five-element algorithms, a typical exercise is trying to improve the algorithm followed the idea of computer simulation, not optimality within the neighborhood. It is obvious that the only a simple mimicking of some natural phenomenon, increment in x approach typically leads to a local but also a creative idea generates from old Chinese optimum. traditional Wu-Xing Doctrine. The five-element GA does not work on system state x ∈⊂DRn of the algorithm treat the object function as a system, by objective function f ()x directly, rather it uses string like simulating the five-element strings involved in this system followed by cycles of balance to generates a better 0011001100100111010111100 for the representing the T system or find a better solution of object function. state x = ()xx12,,," xn and hence may possess better It is necessary to mention here that many existing global coverage. However, GA string member set is global optimization algorithms engage complicated {}0,1 . Inevitably, the change in string may not change mathematical operations, for example, algebraic T operators, derivative operator, integration operator, the state x = ()xx12,,," xn efficiently for covering the projection operator (for parameter calibration) and whole domain because the element change in a string is 1. control operator, however, five-element algorithm only engages the simplest logical operator: if-else. This feature III. STRING REPRESENTATION OF THE STATE OF greatly saves the computing time. The adjective “naïve” OBJECTIVE FUNCTION is added for reminding that this new algorithm does not involve complicated. An improvement strategy is to expand string member set. Now let us formally establish the string II. AN INSPIRING EXAMPLE representation related concepts. Definition 3.1 A string is a sequence of integers, The objective function for illustrating purpose is the denoted by nn" n . Number p is called the length of a Rosenbrok function 12 p string. 2 fxy(),=−+− 100 y x2 () 1 x2 . (1) For operational convenience, a string may be repressed () T by a row vector, nnnn= ()12,,," p . The global minimal value is 0 of Rosenbrok function at Definition 3.2 The collection of the elements for ()()xy,1,1= . The plot of (1) in Figure 1 offers an constructing a string, denoted by{}0,1," ,s − 1 , is termed intuitive view on the features optimality of (1). as an element set for a string. s is called the size of the element set of a string (i.e., the number of elements in the element set). Conjecture 3.3 The size of the element set of a string used in a naïve string algorithm is a prime number. In GA, the size of the element set {}0,1 is prime number 2. Prime number 3, 5, 7, 11, etc can also be used. If the size of the element set is 7, then the element set is {}0,1,2,3, 4,5,6 . The length of a string p should be at least ns()+1 . T 2 Definition 3.4 Let DRxxxx=∈⊂()12,,," n denote system state, which is also representing the candidate solution. Then the length of the string representing x is pnu> if the size of the string element Figure 1. Plot of Rosenbrok function. set is s , us> , u is called the basic unit size of a string. We used GA [6] to search the global minimum of T The string representation for ()x12,,,xx" n is Rosenbrok function. However, contrary to the global © 2009 ACADEMY PUBLISHER JOURNAL OF SOFTWARE, VOL. 4, NO. 9, NOVEMBER 2009 927 ee"""" e e e e e (2) ⎪⎧ 6 56− j 12uu+ 1 2 u()nu−+11 nu ⎪ xu=+() u − u e ⎪ 1 min max min ∑ j 6 ⎪ j=1 5 ⎪ (7) An intuitive correspondence between the state x and ⎨ − ⎪ 12 512 j ⎪xu=+ u − u e the representing string is ⎪ 2minmaxmin()∑ j 6 ⎩⎪ j=7 5 ee12"""" euu e+ 1 e 2 u e()nu−+11 e nu (3) Let x1 x 2 xn n ⎡ e1 ⎤ Lemma 3.5 Let the system state be x ∈⊂DR, and ⎢ ⎥ 50 # e be a string representation (of the system state) with ⎡⎤55 ⎢ ⎥ ⎢⎥66""00 55 ⎢ e6 ⎥ element set size s and string length ns()+1 .

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    10 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us