WORDSNAKE - Seek High Scoring Wordsnakes

WORDSNAKE is given a list of words, and tries to arrange them in a list so that the end of one word has maximum overlap with the beginning of the next word. The entire list is called a "wordsnake", and is scored by squaring the overlaps of each consecutive pair, and adding. We allow the wordsnake to "wraparound", so there's one extra score for overlap from the last word to the first.

Reference:
Dennis Shasha,
Wordsnakes,
Dr Dobb's Journal,
July, 2000, pages 143-144.

Files you may copy include:

The list of routines includes:

Return to the FORTRAN software page.


Last revised on 19 June 2001.