ensuring sucess upon backtracking

michael.goodrich_at_gmail.com
Date: 03/23/05


Date: 23 Mar 2005 08:38:13 -0800

Greetings Prolog Community;

I am faced with a curious Prolog problem, and request some help.

I am doing a simulation in which a random variable is generated in a
goal which will prove subsequently to need a different 'randomized'
value since the first one will prove to be unsuitable for various
reasons. I would like to obtain a different random value by
backtracking successfully over the previously encountered rng predicate
in this single clause goal.

Would appreciate guidance on how to achieve this.

Thanx in advance,

-Mike Goodrich



Relevant Pages

  • Re: ensuring sucess upon backtracking
    ... > Greetings Prolog Community; ... > I am faced with a curious Prolog problem, and request some help. ... > I am doing a simulation in which a random variable is generated in a ...
    (comp.lang.prolog)
  • Re: Evolutionist withholds evidence on Haldanes Dilemma
    ... other scientists at request, sharing it with the general public is ... that anyone should be able to re-create the simulation. ... Toward a solution, evolutionary geneticist, Leonard Nunney, ... Evolutionists now cite Nunney's computer ...
    (sci.bio.evolution)
  • nutbin format, AMS and the ADE
    ... So I have a method for saving simulation data in a raw file using the ... request so that I can use my preferred waveform viewer. ... ADE documentation comes up empty. ...
    (comp.cad.cadence)