diffson.lcs
Type members
Classlikes
Implementation of the LCS using dynamic programming.
Implementation of the LCS using dynamic programming.
- Source:
- DynamicProgLcs.scala
Wraps provided value together with its hashCode. Equals is overridden to first check hashCode and then delegate to the wrapped value.
Wraps provided value together with its hashCode. Equals is overridden to first check hashCode and then delegate to the wrapped value.
- Value parameters:
- value
wrapped value
- Companion:
- object
- Source:
- HashedLcs.scala
Speeds up LCS computations by pre-computing hashes for all objects. Very useful for objects that recompute hashCodes on each invocation.
Speeds up LCS computations by pre-computing hashes for all objects. Very useful for objects that recompute hashCodes on each invocation.
- Value parameters:
- delegate
Decorated LCS implementation.
- Source:
- HashedLcs.scala
The interface to classes that computes the longest common subsequence between two sequences of elements
The interface to classes that computes the longest common subsequence between two sequences of elements
- Source:
- Lcs.scala
Implementation of the patience algorithm [1] to compute the longest common subsequence
Implementation of the patience algorithm [1] to compute the longest common subsequence
- Value parameters:
- withFallback
whether to fallback to classic LCS when patience could not find the LCS
- Source:
- Patience.scala