| java.lang.Object JLibDiff.JRCSMyersAlgorithm
JRCSMyersAlgorithm | public class JRCSMyersAlgorithm implements DiffAlgorithm(Code) | | author: rmacgrogan author: To change this generated comment edit the template variable "typecomment": author: Window>Preferences>Java>Templates. author: To enable and disable the creation of type comments go to author: Window>Preferences>Java>Code Generation. |
JRCSMyersAlgorithm | public JRCSMyersAlgorithm()(Code) | | |
buildPath | public JRCSMyersPathNode buildPath(Object[] orig, Object[] rev)(Code) | | 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 JRCSMyersPathNode Path accross the differences graph. throws: DifferentiationFailedException - if a diff path could not be found. |
buildRevision | public Vector buildRevision(JRCSMyersPathNode path, Object[] orig, Object[] rev)(Code) | | 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 the Revision couldnot be built. |
|
|