Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Computer code and special relativity
Message
De
16/12/2005 12:31:22
 
 
À
15/12/2005 23:20:41
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01077253
Message ID:
01078725
Vues:
55
>>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.


Guess I'm not sure how you'd get around it and still account for matter and forces particles (mesons and bosons in the Standard Model).

Got an idea?



>>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.


I take it the above method belongs to an Observer class?

If so, how does the collection of particles get on the observer class?

It seems to me that if the observer already knows about the particles it is observing, than it has already observed them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform