Skip to content

The build graph is incorrect when build an optimized segment sequence. #272

@OTime-star

Description

@OTime-star

In the encoding process, we will construct a graph, and then use the single-source shortest path algorithm to find the optimal segment sequence, but the constructed graph seems to be problematic.

Keep other parameters as default, and then encode "ABCDEF123", you will get the following graph(Byte mode is omitted).
image
The cost from node ("ABCDEF[A]") to node ("123[A]") is 16, which is wrong, it should be 17.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions