Hello
Let's suppose I have 4 objects, and I want loop over these objects using a function involving 3 objects in each call as follows:
- MyFunction(object1, object2 , object3);
- MyFunction(object1, object2 , object4);
- ...
- MyFunction(object2, object1 , object3);
- MyFunction(object2, object1 , object4);
- ...
- MyFunction(object4, object2 , object1);
- MyFunction(object4, object2 , object3) ;
What is the general algorithm for this ?
Thanks at advance