Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Number of combination problem
Message
 
 
To
01/09/1999 16:22:24
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00260337
Message ID:
00261000
Views:
14
Brian,

Are you familiar with any graph based data structures? You should get most any textbook on Data Structures and use a path finding algorithm to solve this problem.

>I have a table with the structure and data similar to listed below:
>excent with about 500 entries
>
>field1 field2 field3
>A B .T.
>B C cond2
>B D cond3
>C D .T.
>B E cond1
>E C .T.
>
>I am trying to assemble a table or array that will include all possible paths
>
>in this case the paths to d are
>a->b->c->d
>a->b->d
>a->b->e->c->d
>Any suggestions
>Thanks in advance
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform