0 votes
in Prolog by
Explain What Is The Difference Between Bagof/3 And Setof/3 Predicate In Prolog?

1 Answer

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

Related questions

0 votes
asked Sep 18, 2019 in Angular by john ganales
+1 vote
asked Mar 3, 2021 in Prolog by SakshiSharma
0 votes
asked Mar 3, 2021 in Prolog by SakshiSharma
...