Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Explain What Is The Difference Between Bagof/3 And Setof/3 Predicate In Prolog?
Home
Prolog
Explain What Is The Difference Between Bagof/3 And Setof/3 Predicate In Prolog?
0
votes
asked
Mar 3, 2021
in
Prolog
by
SakshiSharma
Explain What Is The Difference Between Bagof/3 And Setof/3 Predicate In Prolog?
#bagof
2
setof3
prolog-predicate
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Mar 3, 2021
by
SakshiSharma
Setof/3 is similar to bagof/3 and the difference between is that bagof/3 leaves all repeated solutions while setof/3 removes them.
...