InterviewSolution
Saved Bookmarks
| 1. |
Explain What Is The Difference Between Bagof/3 And Setof/3 Predicate In Prolog? |
|
Answer» Setof/3 is SIMILAR to bagof/3 and the DIFFERENCE between is that bagof/3 LEAVES all REPEATED SOLUTIONS while setof/3 removes them. Setof/3 is similar to bagof/3 and the difference between is that bagof/3 leaves all repeated solutions while setof/3 removes them. |
|