Re: Binary Calculator
- From: Markus Triska <triska@xxxxxx>
- Date: Thu, 23 Feb 2006 20:06:24 +0100
Hi Bill,
student wrote:
processor(LastInstr,[],CurrState,FinalState) :-
interpret(LastInstr,CurrState,FinalState).
processor(CurrInstr,[NextInstr|RemInstrs],CurrState,FinalState) :-
Exchanging the leftmost two arguments helps for systems with first argument indexing only. Why do you now also include process([], nil)?
All the best,
Markus.
.
- Follow-Ups:
- Re: Binary Calculator
- From: student
- Re: Binary Calculator
- References:
- Binary Calculator
- From: elShazo
- Re: Binary Calculator
- From: vasile.alaiba@xxxxxxxxx
- Re: Binary Calculator
- From: Markus Triska
- Re: Binary Calculator
- From: student
- Re: Binary Calculator
- From: elShazo@xxxxxxxxx
- Re: Binary Calculator
- From: student
- Binary Calculator
- Prev by Date: Re: genetic algorithm
- Next by Date: Re: Binary Calculator
- Previous by thread: Re: Binary Calculator
- Next by thread: Re: Binary Calculator
- Index(es):