cost 375 ms
Why doesn't X-0 match with 20?

I have the following fact in my knowledge base: distance(c2, c5, 20, 1). But when I try to query distance(c2, c5, X-0, 1), (or any other number inste ...

Most General Unifier (Prolog)

Have a quick question regarding m.g.u (most general unifier) in prolog. We are asked what the m.g.u is of: With 2 possible answers I argued tha ...


 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM