For Programmers: Free Programming Magazines  


Home > Archive > Prolog > February 2007 > Need some help with prolog: sequence prediction problem









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Need some help with prolog: sequence prediction problem
monsterluna@gmail.com

2007-02-12, 4:13 am

I am taking my AI course, and I really can't handle Prolog.....

I need to design a problem-solving system capable of solving such
prediction problems. The system will search the space of possible
functions until it finds one that matches the observed sequence. The
space of sequence functions that we will consider consists of all
possible expressions built from the elements 1 and n, and the
functions +, x, -, /, and exponentiation. For example, the function 2n
becomes (1 + 1)n in this language. It will be useful to think of
function expressions as binary trees, with operators at the internal
nodes and 1 's and n's at the leaves.

I know Depth first iterative deepening is suitable for this problem,
but I can not figuer out the goaltest function and successor
function.

Can anyone give me some help with this?

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com