'A' Longest Common Subsequence (LCS) implementation

Revision 14 vs. Revision 15

Legend:

Unmodified
Added
Removed
  • Content

    r14 r15  
    9090Section 2.2 C++ version (first try)  
    9191***********************************  
    9292  
    9393The next thing I decided to do was think about this in terms of the sequence being any object.  As a result I would need to think more about indices and what it meant to be at the end of a set of objects and the size of the object collection.  That was too much to think about so I decided to make an LCS C++ template class that could be used for c++ containers or at least some containers. The code is here ``:snippet:`375``` and test/example code is here ``:snippet:`382```.  
    9494  
     95Chapter 3  What else?  
     96---------------------  
    9597  
    96   
    97 Chapter 3  What else?  
    98 --------------------- 
     98At this point comes the meat of my problem.  I want to compare two graphs.  I've not read any literature about that (yet) but am considering the following way of doing things.  At each node in the graph implementation I am using.