Lggr
Public Member Functions | List of all members
SebastianBergmann\Diff\LongestCommonSubsequenceCalculator Interface Reference
Inheritance diagram for SebastianBergmann\Diff\LongestCommonSubsequenceCalculator:
Inheritance graph
[legend]

Public Member Functions

 calculate (array $from, array $to)
 

Member Function Documentation

◆ calculate()

SebastianBergmann\Diff\LongestCommonSubsequenceCalculator::calculate ( array  $from,
array  $to 
)

Calculates the longest common subsequence of two arrays.

Parameters
array$from
array$to
Returns
array

Implemented in SebastianBergmann\Diff\MemoryEfficientLongestCommonSubsequenceCalculator, and SebastianBergmann\Diff\TimeEfficientLongestCommonSubsequenceCalculator.


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