Archive Ensembl HomeArchive Ensembl Home
Algorithm::Diff Class Reference

List of all members.


Class Summary

Synopsis

  use Algorithm::Diff qw(diff LCS traverse_sequences);

  @lcs    = LCS( \@seq1, \@seq2 );

  @lcs    = LCS( \@seq1, \@seq2, $key_generation_function );

  $lcsref = LCS( \@seq1, \@seq2 );

  $lcsref = LCS( \@seq1, \@seq2, $key_generation_function );

  @diffs = diff( \@seq1, \@seq2 );

  @diffs = diff( \@seq1, \@seq2, $key_generation_function );
  
  traverse_sequences( \@seq1, \@seq2,
                     { MATCH =\> $callback,
                       DISCARD_A =\> $callback,
                       DISCARD_B =\> $callback,
                     } );

  traverse_sequences( \@seq1, \@seq2,
                     { MATCH =\> $callback,
                       DISCARD_A =\> $callback,
                       DISCARD_B =\> $callback,
                     },
                     $key_generation_function );

Definition at line 34 of file Diff.pm.

Available Methods

protected _longestCommonSubsequence ()
protected _replaceNextLargerWith ()
protected _withPositionsOfInInterval ()
public diff ()
public LCS ()
public traverse_sequences ()

Method Documentation

protected Algorithm::Diff::_longestCommonSubsequence ( )

Undocumented method

Code:
click to view
protected Algorithm::Diff::_replaceNextLargerWith ( )

Undocumented method

Code:
click to view
protected Algorithm::Diff::_withPositionsOfInInterval ( )

Undocumented method

Code:
click to view
public Algorithm::Diff::diff ( )

Undocumented method

Code:
click to view
public Algorithm::Diff::LCS ( )

Undocumented method

Code:
click to view
public Algorithm::Diff::traverse_sequences ( )

Undocumented method

Code:
click to view

The documentation for this class was generated from the following file: