MPDL
Computing Research Methods Multi-Perspective Digital Library

Guests are welcome to view our materials. To subscribe, edit, view raw markup, etc., you'll need to register for an account. Accounts are free (and will always be free) - your involvement helps us directly and indirectly (by demonstrating that our work matters to our funders...) StartingPoints has more info.
MPDL » IntroAIFall08 » FirstOrderLogicLab
  • I am using a graphical approach to explain this . i was able to get the GUI for the Aima Code to Run it shows the grid for me.
  • Now Starting the agent in [1,1] with a random initial world.

* wumpus1.jpg:
wumpus1.jpg

  • At ( Wumpus , [1 , 3])
  • At( Gold , [3 , 4] )
  • At( Pit , [3 , 3] )
  • At( Pit , [3 , 1] )
  • At( Pit , [4 , 4] )

Agent in [1,1], turned to east, [no,no,no,no,no], : forward
Agent[2,1], turned to east, [no,yes,no,no,no], : turnleft
Agent[2,1], turned to north, [no,yes,no,no,no], : turnleft
Agent[2,1], turned to west, [no,yes,no,no,no], : turnleft
Agent[2,1], turned to south, [no,yes,no,no,no], : forward
Agent[2,0], turned to south, [no,no,no,yes,no], : rebound
Agent [2,1], turned to south, [no,yes,no,no,no], : turnright
Agent [2,1], turned to west, [no,yes,no,no,no], : forward
Agent [1,1], turned to west, [no,no,no,no,no], : forward
Agent[0,1], turned to west, [no,no,no,yes,no], : rebound
Agent[1,1], turned to west, [no,no,no,no,no], : turnleft
Agent[1,1], turned to south, [no,no,no,no,no], : forward
Agent[1,0], turned to south, [no,no,no,yes,no], : rebound
Agent [1,1], turned to south, [no,no,no,no,no], : turnleft
Agent[1,1], turned to east, [no,no,no,no,no], : turnleft
Agent [1,1], turned to north, [no,no,no,no,no], : forward
Agent[1,2], turned to north, [yes,no,no,no,no], : shoot
can be only One
Agent[1,2], turned to north, [no,no,no,no,yes], I'm doing : forward
Agent [1,3], turned to north, [no,no,no,no,yes], I'm doing : forward
Agent [1,4], turned to north, [no,no,no,no,yes], I'm doing : forward
Agent [1,5], turned to north, [no,no,no,yes,yes], I'm doing : rebound
Agent [1,4], turned to north, [no,no,no,no,yes], I'm doing : turnleft
Agent [1,4], turned to west, [no,no,no,no,yes], I'm doing : forward
Agent [0,4], turned to west, [no,no,no,yes,yes], I'm doing : rebound
Agent [1,4], turned to west, [no,no,no,no,yes], I'm doing : turnleft
Agent [1,4], turned to south, [no,no,no,no,yes], I'm doing : turnleft
Agent [1,4], turned to east, [no,no,no,no,yes], I'm doing : forward
Agent [2,4], turned to east, [no,no,no,no,yes], I'm doing : forward
Agent [3,4], turned to east, [no,yes,yes,no,yes], I'm doing : grab
the money
Agent [3,4], turned to east, [no,yes,no,no,yes], I'm doing : turnleft
Agent [3,4], turned to north, [no,yes,no,no,yes], I'm doing : turnleft
Agent [3,4], turned to west, [no,yes,no,no,yes], I'm doing : forward
Agent [2,4], turned to west, [no,no,no,no,yes], I'm doing : forward
Agent [1,4], turned to west, [no,no,no,no,yes], I'm doing : turnleft
Agent [1,4], turned to south, [no,no,no,no,yes], I'm doing : forward
Agent [1,3], turned to south, [no,no,no,no,yes], I'm doing : forward
Agent [1,2], turned to south, [no,no,no,no,yes], I'm doing : forward
Agent [1,1], turned to south, [no,no,no,no,yes], I'm doing : climb

* agents.py.txt: agents.py.txt * logic.py.txt: logic.py.txt

  • AI-3.jpg:
    AI-3.jpg

i was able to get the GUI running , and when you click at various co - ordinates int he grid you can see the locations on the command line .

Coming to my Research question , i have been trying to phrase my thoughts , i used the approach generally used.

Steps needed to develop a research question :-

Choose a Topic/Issue : We need to choose a topic so that we can focus on the area of interst.A topic is what the essay or research paper is about.

Ask question : What out of all these AI topic and classes had been attractive , , which has tickled my mind?

i will try to firm up by the final report

-- RahulPendyal - 07 Dec 2008

  Attachment Action Size Date Who Comment
jpg AI-3.jpg props, move 142.6 K 07 Dec 2008 - 02:13 RahulPendyal  
txt agents.py.txt props, move 20.0 K 07 Dec 2008 - 02:11 RahulPendyal  
jpg kblogic1.jpg props, move 129.3 K 07 Dec 2008 - 02:13 RahulPendyal  
txt logic.py.txt props, move 31.9 K 07 Dec 2008 - 02:12 RahulPendyal  
txt utils.py.txt props, move 22.2 K 07 Dec 2008 - 02:12 RahulPendyal  
jpg wumpus1.jpg props, move 21.7 K 07 Dec 2008 - 02:11 RahulPendyal  
r2 - 23 Apr 2009 - 14:10:52 - HilaryHolz
Guests are welcome to view our materials. To subscribe, edit, view raw markup, etc., you'll need to register for an account. Accounts are free (and will always be free) - your involvement helps us directly and indirectly (by demonstrating that our work matters to our funders...) StartingPoints has more info.
This site is powered by the TWiki collaboration platformCopyright 1999-2009 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Ahatwiki? Send feedback Syndicate this site RSSATOM