Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Combinations of Points

Name: Anonymous 2012-05-14 13:56

I have a set of 8 unique points, and I need to cycle through all possible routes between those points, [preferably] using recursion.

How do I go about a problem like this?

Name: Anonymous 2012-05-14 14:17

Write a function like funct(point) and have it do a for loop for all of the points that are connected to that one point and each one calls the same funct(their point). Then the starting point just calls funct(point) and it loops through all of the points just like that

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List