3. Data sampling. Continue to perform ., on S and calculate the physical pro -. ty
of interest for the state at regular intervals. 'r :: sampling data is accumulated and stored.
Very simple structure of the Monte Carlo simulation allows for a rather general
i station of the simulation program, more specifically, different Lightcone "'. -ld
Sheet models can be handled with the same basic computer code. In fact, '. using object
oriented programming techniques, it is possible to allow model specific issues, such as
how the action is calculated, which fields live on the world sheet etc. to reside in the
specifications of the model ob S. : C --, an instance of a mn model ob'-.- S of
a particular class (for example 2D T ) is constructed, and passed into the simulation
software, which itself is not concerned with what kind of model S is. In modern software
design object oriented programming has become a completely dominating standard. It is
in order to briefly describe how this methodolb-. is used in our context.
A.1.2 Object Oriented Programming: General Concepts and Nomenclature
To describe the relevance of obh.. oriented e .. ,uter programming to the present
computer simulation we take an :::ple from mathematics. Consider the real numbers, R
as a subset of the complex numbers, C. Let us take a real number x R and a ...... lex
number z = (a .7') e C and consider the two operations:
x. if x > 0
abs : x = (A-1)
-x, if x < 0
: = a2 + b2 (A-2)
Its i ortant to : :phasize that it is of interest to the computer programmer to make a
distinction between these numbers (or in general, between data types) since storing -,
an integer is much more memory efficient than storing it as a specific case of a :::. )lex