Login
Remember
Register
Ask a Question
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.
...