Jump to content


Prolog/AI help..??


6 replies to this topic

#1 hgoratela

    New Member

  • Members
  • Pip
  • 2 posts

Posted 14 April 2010 - 02:01 AM

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.

#2 Sol_HSA

    Senior Member

  • Members
  • PipPipPipPip
  • 517 posts
  • LocationNowhere whenever

Posted 14 April 2010 - 07:25 AM

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?
http://iki.fi/sol - my schtuphh

#3 phresnel

    Member

  • Members
  • PipPip
  • 47 posts

Posted 14 April 2010 - 11:54 AM

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?

~/www/ | picogen.org | metatrace
- --- / .-.. . - / -- -.-- / ... .. --. -. .- - ..- .-. . / .- .--. .--. . .- .-. / --. . . -.- -.--


#4 Nerd_Skywalker

    Valued Member

  • Members
  • PipPipPip
  • 215 posts

Posted 14 April 2010 - 09:40 PM

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?
Re-dun-dant adj. 1. See redundant

TheNut said:

"Hmm, yes. Strong is the force with this one"

#5 hgoratela

    New Member

  • Members
  • Pip
  • 2 posts

Posted 14 April 2010 - 10:20 PM

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.

#6 Nerd_Skywalker

    Valued Member

  • Members
  • PipPipPip
  • 215 posts

Posted 14 April 2010 - 10:41 PM

phresnel said:

- Where, exactly, is Wikipedia and google located these days to find information about where Prolog is used these days, and why?
^this
Re-dun-dant adj. 1. See redundant

TheNut said:

"Hmm, yes. Strong is the force with this one"

#7 Reedbeta

    DevMaster Staff

  • Administrators
  • 5340 posts
  • LocationSanta Clara, CA

Posted 14 April 2010 - 11:29 PM

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.
reedbeta.com - developer blog, OpenGL demos, and other projects





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users