https://github.com/guibrandt/avl_tree
Árvore AVL de busca genérica em C++
https://github.com/guibrandt/avl_tree
avl-tree cotuca cpp11 data-structures generics maligno
Last synced: 9 months ago
JSON representation
Árvore AVL de busca genérica em C++
- Host: GitHub
- URL: https://github.com/guibrandt/avl_tree
- Owner: GuiBrandt
- License: mit
- Created: 2018-09-28T15:23:15.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-22T09:20:19.000Z (over 7 years ago)
- Last Synced: 2025-01-11T07:36:11.876Z (about 1 year ago)
- Topics: avl-tree, cotuca, cpp11, data-structures, generics, maligno
- Language: C++
- Size: 221 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# avl_tree
Implementação de árvore AVL de busca genérica em C++
Feito como exercício nas aulas do Prof. André (a.k.a. Maligno) no 6º semestre do curso de Informática no COTUCA.
## Primeiros passos
### Para testar
Para compilar os testes, use [`make`](https://www.gnu.org/software/make/).
No Linux:
```
$ make
```
No Windows:
```
> make win32
```
Será gerado um arquivo `tests/all` (ou `tests/all.exe`, no Windows) que executa os testes unitários necessários usando o [`googletest`](https://github.com/google/googletest).
### Para usar
Para usar a classe de árvore AVL, copie o arquivo
`avl_tree.hpp` para a pasta do seu projeto e, no código, inclua o cabeçalho:
```cpp
#include "avl_tree.hpp"
```