Prolog/AI help..??

52eae42074972fab84904ae723ed1870
0
hgoratela 101 Apr 14, 2010 at 02:01

I am struggling with the following 2 questions in Prolog, I need this code for my work. Any help is greatly appreciated.
-How to write a predicate that recognizes a “pair” in RLE list? The return value of course is true or false.
-How to write a predicate that recognizes a RLE string?

I just seem to be lost. Please, any help is appreciated.

6 Replies

Please log in or register to post a reply.

3c5be51fdeec526e1f232d6b68cc0954
0
Sol_HSA 119 Apr 14, 2010 at 07:25

I am struggling with the following 2 questions about Prolog.
- How come people sign on here just to ask questions about it?
- Where, exactly, is Prolog used these days, and why?

886c9946a5dd9887a33d237ddcc9b7e7
0
phresnel 101 Apr 14, 2010 at 11:54

I am struggling with the following 2 questions about the relevantness of off-topic rants:
- How the hell are AI and game-development related? This is madness.
- Where, exactly, is Wikipedia and google located these days to find information about where Prolog is used these days, and why?

B2d356f97a3d0dec8ae2d8c1e1fa1c2d
0
Nerd_Skywalker 101 Apr 14, 2010 at 21:40

I am struggling with the following 2 questions about the next two questions:
- Why are these even questions?
- Should I even have a second question if this is all I am asking?

52eae42074972fab84904ae723ed1870
0
hgoratela 101 Apr 14, 2010 at 22:20

I need to know in order to implement it, its a new language they are using at my work and I have never worked with Prolog earlier. Any decent replies would be greatly appreciated. I don’t want comments, I want replies.

B2d356f97a3d0dec8ae2d8c1e1fa1c2d
0
Nerd_Skywalker 101 Apr 14, 2010 at 22:41

@phresnel

  • Where, exactly, is Wikipedia and google located these days to find information about where Prolog is used these days, and why?

\^this

A8433b04cb41dd57113740b779f61acb
0
Reedbeta 167 Apr 14, 2010 at 23:29

hgoratela: you should dive into the Prolog docs if you haven’t already. And you should probably post on a forum that actually specializes in Prolog. I don’t think very many (anyone?) here actually uses Prolog.

We continue to get Prolog posts from time to time because we have a couple of threads on it in the archives, and people keep finding them on Google. But we’re a game development forum and Prolog isn’t commonly used for game development, so this is really the wrong place to ask Prolog questions.