Monday, January 19, 2009

Crackpot FAQs

Planning System
  • Why do we need a class ObjectType and another called ObjectInstance? Why not just one class Object (refering to ObjectInstance)?
The information about the ObjectType is available only at runtime. If we have just one class Object, we won't be able to "tag" apple objects as of "apple" type. We want to store types of objects. You can think of ObjectTypes as tags to ObjectInstances.
  • What is ground and formal ObjectInstance?
In the ActionType "OpenDoor(d: DoorType, p: personType)", d is be an "Object Variable" or a placeholder for an ObjectInstance. In ActionInstance, it becomes "OpenDoor(door0, person0)". Here door0 and person0 are actual objects in the world. The "Object Variables" are currently called Formal ObjectInstances and "actual objects in the world" are called Ground Object Instances.
C++/Programming General
  • I have a particular technical question. Where can I get help?
Besides the usual means, you can also search or ask on online forums. Before asking there, make sure you have done a good research on it on google (and include your research done along with the question). In particular I like stackoverflow.com
C++ - Beginner Level
  • Good resources?
See the article "A Quick Introduction to C++"
  • How do I handle cyclic dependencies in C++? For example, class A uses class B, and class B uses class A?
See http://www.eventhelix.com/realtimemantra/HeaderFileIncludePatterns.htm

No comments:

Post a Comment