Random domain function



Hi there! I'm working on a program and my prolog is a bit rusty. I
wanted to ask if someone could give me some pointers on how can i
create a function that randomly indicates a coordinate, like(x,y), with
a restriction that is beloging to the domain of the coordinates.

I hope i've explained well enough in my terrible english.

Thanks in advance!

Regards

Pedro Pinto

.



Relevant Pages

  • Re: STL question
    ... Rusty wrote: ... > Is there any way to use the STL algorithm for_each if my container ... > contains pointers? ...
    (comp.lang.cpp)
  • Re: Software suggestions
    ... and when you've dangled as many pointers as I ... There is no such language. ... I do not have to care about dangling pointers but I ... Taking Prolog, I must say that dangling pointers ...
    (comp.constraints)
  • Re: Prolog AI for Game of Go
    ... AI in Prolog for the Game of Go. ... Can you give me any pointers? ... information about "GOG", a Go-playing program written in Prolog as part ...
    (comp.lang.prolog)