Class WordLCS_V1

java.lang.Object
  extended by WordLCS_V1

public class WordLCS_V1
extends java.lang.Object


Constructor Summary
WordLCS_V1()
           
 
Method Summary
 void buildTables(java.lang.String[] a, java.lang.String[] b)
           
 java.lang.String compareStrings(java.lang.String aString, java.lang.String anotherString)
           
 java.lang.String evaluateTable(java.lang.String[][] aTable)
           
 java.lang.String get_clcs()
           
 java.lang.String get_dlcs()
           
static void main(java.lang.String[] args)
           
 void printTable(java.lang.String[][] aTable)
           
 void set_clcs(java.lang.String _clcs)
           
 void set_dlcs(java.lang.String _dlcs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WordLCS_V1

public WordLCS_V1()
Method Detail

buildTables

public void buildTables(java.lang.String[] a,
                        java.lang.String[] b)

compareStrings

public java.lang.String compareStrings(java.lang.String aString,
                                       java.lang.String anotherString)

printTable

public void printTable(java.lang.String[][] aTable)

evaluateTable

public java.lang.String evaluateTable(java.lang.String[][] aTable)

main

public static void main(java.lang.String[] args)

get_dlcs

public java.lang.String get_dlcs()
Returns:
Returns the _dlcs, or Discontiguous Longest Common Subsequence (with gaps).

set_dlcs

public void set_dlcs(java.lang.String _dlcs)
Parameters:
_dlcs - The _dlcs to set.
_dlcs - Le _dlcs à paramétrer.

get_clcs

public java.lang.String get_clcs()
Returns:
Returns the _clcs, or Contiguous Longest Common String (no gaps).

set_clcs

public void set_clcs(java.lang.String _clcs)
Parameters:
_clcs - The _clcs to set.
_clcs - Le _clcs à paramétrer.