buildPath(Object[] orig, Object[] rev) Computes the minimum diffpath that expresses de differences between the
original and revised sequences, according to Gene Myers differencing
algorithm.
Parameters: orig - The original sequence. Parameters: rev - The revised sequence.
buildRevision(PathNode path, Object[] orig, Object[] rev) Constructs a
Revision from a difference path.
Parameters: path - The path. Parameters: orig - The original sequence. Parameters: rev - The revised sequence.
Computes the minimum diffpath that expresses de differences between the
original and revised sequences, according to Gene Myers differencing
algorithm.
Parameters: orig - The original sequence. Parameters: rev - The revised sequence. A minimum PathNode Path accross the differences graph. throws: DifferentiationFailedException - if a diff path could not be found.
Constructs a
Revision from a difference path.
Parameters: path - The path. Parameters: orig - The original sequence. Parameters: rev - The revised sequence. A Revision script corresponding to the path. throws: DifferentiationFailedException - if a Revision could not be built from the given path.