Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Computer code and special relativity
Message
De
15/12/2005 23:20:41
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
15/12/2005 22:51:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01077253
Message ID:
01078544
Vues:
62
>Dragan suggested that we define an observer class along side the particle class.

I only assumed there should be an observer class. Particle class is yours.

>That would mean that the observer is something special, it is not material because it is not made of the particles of matter.

Now that's another assumption, that we should have particle objects... and then have to decide whether our observer is material. The models would bifurcate from here. Makes it more interesting.

>Your suggestion was to put an Observe() method right on the particle class, making the particle the observer. That makes the observer material, but it doesn't really explain how a human observer fits into the model. The human being is obviously not one particle, but it is an observer.
>
>So if the particle has the observe method, how does a human being like myself observe?
procedure observe()
oObservation=create("empty")
for each oParticle in this.collParticles
   oParticle.observe()
  addProperty(oObservation, oParticle.cPropName, oParticle.uPropValue)
endfor
return oObservation
In the universe where observer is also a particle, particle would be a collection. In the other one, particle can be anything, but observer is a collection (or something more complex), or has a collection of its own particles.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform