"d", "e"] // ৽͘͠ද͍ࣔͨ͠σʔλ let newSource = ["a", "b", "c", "d", "h", "e", "f", "g"] // ฤूڑͷܭࢉͯ͠ɺҎԼͷΑ͏ͳσʔλߏΛߏங // let ses = [ // Ses<String>(edit: EditDistance.Edit.common, c: "a", index: 0), // Ses<String>(edit: EditDistance.Edit.common, c: "b", index: 1), // ... // Ses<String>(edit: EditDistance.Edit.add, c: "e", index: 4), // ... // ] let editDistance = EditDistanceCalculator(from: currentSource, to: newSource) let ses = editDistance.compose()