Explain what is the difference between bagof/3 and setof/3 predicate in Prolog?

Answer Posted / chaitanya

Setof/3 is similar to bagof/3 and the difference between is that bagof/3 leaves all repeated solutions while setof/3 removes them.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does the language of fopl consist of?

531


Explain List of programming languages for artificial intelligence?

962


What is the output of the given statement? * (defclass article() ((title :accessor article-title :initarg :title) (author :accessor article-author :initarg :author))) * (defclass computer-article (article) ()) * (defclass business-article (article) ()) * (defclass political-article (article) ()) * (setf articles (list (make-instance ‘business-article :title “Memory Prices down”))) a) Business article b) Political article c) Business article

840


What are the different nlp tasks deep learning can be applied?

520


Explain List of artificial intelligence projects?

901