STRIPS representation of monkey in the lab
NickName:Stevo Ask DateTime:2015-06-11T13:00:36

STRIPS representation of monkey in the lab

I have been reviewing some material on the representation of an AI plan given the STRIPS format, and found that different people seem to formulate the same problem in different ways.

For instance, Wikipedia has an example regarding the Monkey in the lab problem. The problem states that:

A box is available that will enable the monkey to reach the bananas hanging from the ceiling if he climbs up on it. Initially, the monkey is at A, the bananas at B, and the box at C. The monkey and the box have height Low, but if the monkey climbs onto the box, he will have height High, the same as the bananas. The actions available to the monkey include Go from one place to another, Push an object from one place to another, ClimbUp onto or CLimbDown from an object, and Grasp or UnGrasp an object. Grasping the object results in holding the object if the monkey and the object are in the same place at the same height.

Here is the Wikipedia plan (please note that it is not matched exactly to this problem description, but it is the same problem. It doesn't seem to implement Ungrasp, which is not important for this discussion):

Wikipedia solution to problem

Now nowhere in this plan can I see that the bananas are located at Level(high), so the only way this could actually be divulged from the plan would be to read through the entire set of Actions and deduce from there that the Monkey must be at Level(high) to interact with the bananas, hence they must be at Level(high).

Would it be a good idea to put this information in the Initial State, and have something like:

Monkey(m) & Bananas(ba) & Box(bx) & Level(low) & Level(high) & Position(A) & Position(B) & Position(C) & At(m, A, low) & At(ba, B, high) & At(bx, C, low)

It looks quite verbose like that, but at the same time, it allows the reader to understand the scenario just through reading the Initial State. I've also been told that we should not be using constants anywhere in STRIPS, so I thought declaring the A, B, and C as Positions was a good idea.

Is it that some people do it differently (which I feel would kind of ruin the idea of having a standardized language to represent things), or is it that one of the ways I have presented isn't in the correct format? I am new to STRIPS, so it is entirely possible (and likely) that I am missing some key points.

Copyright Notice:Content Author:「Stevo」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/30771943/strips-representation-of-monkey-in-the-lab

More about “STRIPS representation of monkey in the lab” related questions

STRIPS representation of monkey in the lab

I have been reviewing some material on the representation of an AI plan given the STRIPS format, and found that different people seem to formulate the same problem in different ways. For instance,

Show Detail

Solving the Monkey and Banana Using Basic STRIPS Algorithm

We have been asked (for homework) to create solutions to a couple of AI problems using Python and making modifications to a basic STRIPS algorithm. At the moment I am trying to tackle the Monkey and

Show Detail

why do I not find a LAB color cube?

I use the R colorspace package to convert a three-dimensional point into a LAB color. The LAB color is defined with three coordinates, the first one ranges from 0 to 100 and the two other ones rang...

Show Detail

How to represent information of lab panel and/or lab items in DiagnosticOrder and DiagnosticReport FHIR resource?

Situation (I): A practitioner orders a lab panel with multiple lab items. Lab panel name: LP1 Lab items within LP1: LP1_A, LP1_B DiagnosticOrder.item.code will be used to represent LP1, LP1_A and

Show Detail

Cowplot plot_grid remove space from ggplot facet strips

I am assembling two ggplot objects with plot_grid, each of which uses the same facets, to give an effect of a grid of plots but with different x-axes. I only need the facet text to be on the first ...

Show Detail

How can I tell if my Android app is running in Google Cloud Test Lab?

I'd like to be able to skip the login screen and disable analytics tracking in my app when running monkey runner tests on Google Cloud Test Lab. The Best Practices for Cloud Test Lab page states:...

Show Detail

LAB color space (vs RGB or HSV) - OpenCV example?

Good afternoon, I've used the RGB and HSV color spaces in OpenCV extensively and would like to branch my knowledge out to LAB as well, however I'm having a hard time getting started. At this poin...

Show Detail

DexGuard with UiAutomator and Monkey(not monkey runner)

has anyone used uiautomator or monkey to automate ui testing for an app that has been obfuscated by Dexguard? could you share your experience? like could uiautomator identify the widget by resourc...

Show Detail

Monkey is not giving output: No activity found to run, Monkey aborted

I am new to Monkey testing tool, it says run the following command adb shell monkey -p "package name" -v 3 It is not clear to me whether to pass this command from inside the Project Directory o...

Show Detail

STRIPS algorithm in prolog dosen't stop

I'm learning Prolog and I'm writing STRIPS algorithm. Exactly I try to write it because it doesn’t work and unfortunately, I can't understand why. Simply, the program doesn't stop, it thinks what k...

Show Detail