C/C++
complex.txt
Associated article: The Science of Complexity
Tags: C/C++ Design
Published source code accompanying the article by David Lamper and Neil F. Johnson in which they examine complex systems which change in time. They present a computer model written in C++ that includes all the crucial properties of complex competition, frustration, feedback, and adaptability. Also see COMPLEX.ZIP.
The Science of Complexity
by David Lamper and Neil F. Johnson
Listing One
if(win==strategy_prediction)
Si=1;
else
Si=0;
S += Si - baS->GetBit(iSindex); //# strategy points
if(Si==1);
baS->SetBit(iSindex);
else
baS->ClearBit(iSindex);
...


