[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
A simple example to illustrate contingent problem
- To: Rao Kambhampati <rao@asu.edu>
- Subject: A simple example to illustrate contingent problem
- From: Subbarao Kambhampati <rao@asu.edu>
- Date: Tue, 27 Jan 2009 12:21:12 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=brIsTKc2EsDFr1GLTYsGYXrqVk2CcOK8N0tuPgOQ9+g=; b=F43OFbZ96RN3Tr7J25MHK0EkpmI9XmGjlao4vUHLvUsU4N5BMDixbux8FwLjfxktcj ZIJ8FJ615ir2XQxGjJ2eReKkPDksjZZMDIJR4xAvWpmFhZCZVBR59V+tPrD0+x9vqm/i wwYA/nnwEX/TfAhiGa43oYSF63dtOEA5zIagE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=AyL3BXUz3Wntdsi6w0pMJtUyu3pXYPCjs5x/IAQxBsQ0CRekrTJJj86YrK1HjdD7rg rnnI9f/gEO61qsxWs0gWuLz5fpcJdkWoORHNDobDradK0UDWHd+5RwVUvKhTYbR86urk G1ZbPKR6DFDU1Z+L6kA/r/BthKGqhAUnuoDNA=
- Sender: subbarao2z2@gmail.com
Here is a simple example that illustrates the need for sensing (and contingent plans)
We have a patient who might or might not have a disease d.
If the patient has disease, then medicating her (M) will cure her.
If however, she *doesn't* have the disease, medicating her will kill her.
There is a simple injection I that if given to a patient with the disease, makes their tongue
red; it has no effect on the patients without disease.
Your goal is to ensure that the patient doesn't have the disease (and is alive!).
The initial configuration is { D or ~D}
after injection
{(Disease, tongue-red) (disease, tongue-not-red)}
now we do a "look-see" and medicate only if the tongue is red.
So the full plan is:
Inject
If tongue-red
then medicate
{else do nothing}
Notice that this solution is not a "line" (or "sequence") plan. It corresponds to a
subgraph in the state-space.
This example also illustrates another interesting point. The "disease" is not directly
observable, but it can be indirectly observed from the tongue-redness, after the
"injection" action. (So, while sensing can reduce uncertainty, it may not be as simple as
"just find out what state you are in"--you may have to do additional world-changing actions
before you can sense).
Rao