Skip to content

Enhancement: Allow element weights #98

@walles

Description

@walles

Based on walles/riff#14.

I have two string collections I want to examine.

There are two equally valid LCS solutions.

In this case, I prefer one of them, but Diffus produces the other.

To handle this, I'd like to put weights on the strings in my collection, so I can tell Diffus:

  • Treating string black as a change is expensive
  • Treating string as a change is cheap
  • Treating string \n as a change is cheap

Then, in the exact same case, Diffus would prefer the same LCS solution that I do.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions