Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Computer code and special relativity
Message
From
16/12/2005 12:31:22
 
 
To
15/12/2005 23:20:41
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01077253
Message ID:
01078725
Views:
57
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform