[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Birth of a Complex Adaptive System! (using XSLT)

  • To: xml-dev@l...
  • Subject: Birth of a Complex Adaptive System! (using XSLT)
  • From: "Roger L. Costello" <costello@m...>
  • Date: Sat, 01 Nov 2003 20:35:08 -0500
  • Organization: The MITRE Corporation

complex adaptive system
Hi Folks,

I have modified the Game of Life stylesheet so that now it adapts based
upon interaction with a "Population Control" stylesheet.  The Population
Control monitors the population (number of live cells) that the Game of
Life is producing. 

input.xml -> PopulationControl.xsl -> new-input.xml -> GameOfLife.xsl

-> input2.xml -> PopulationControl.xsl -> new-input2.xml

-> GameOfLife.xsl -> input3.xml -> PopulationControl.xsl -> ...

If the population is too low then the Population Control instructs the
Game of Life to increase its population.  The Game of Life accomplishes
this by dynamically modifying its built-in rules such that the modified
rules increase the likelihood of growth.  

If the population is too high then the Population Control instructs the
Game of Life to decrease its population.  Again, the Game of Life
accomplishes this by dynamically modifying its built-in rules to
discourage growth.

Thus, there is a dynamic interaction between the Game of Life and
Population Control.  The Game of Life continually alters (adapts) itself
based upon input from Population Control.

Here is a simple animation of the Game of Life as it interacts with
Population Control (thanks to Bob DuCharme for showing me how to create
this HTML animation):

  http://www.xfront.com/adaptive-life/orig.html

Here is the new version of the Game of Life stylesheet:

  http://www.xfront.com/adaptive-life/GameOfLife.xsl

Here is the Population Control stylesheet:

  http://www.xfront.com/adaptive-life/PopulationControl.xsl

Many thanks to Didier and Len for their help and suggestions.  /Roger


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.