Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/annoraaq/exted

Tree edit distance algorithm in elixir
https://github.com/annoraaq/exted

Last synced: 1 day ago
JSON representation

Tree edit distance algorithm in elixir

Awesome Lists containing this project

README

        

# ExTed

ExTed is a naive implementation of a tree edit distance algorithm in Elixir. Please note that this algorithm has exponential runtime complexity!

Trees consist of a label and children: ```{:label, [], [child_1, ..., child_n]}```
The second value in the tuple is not used yet and only existent to be compatible with Elixir syntax trees.
Forests are lists of trees.

## Usage
```Ted.ted(forest_1, forest_2)```