How ronaldo-dck/b-tree-grafos works
This repository contains two independent command-line tools: a contact agenda backed by a B-tree and text files, and a graph editor/analyzer. The main workflows begin at each program’s interactive menu; the graph tool loads a named graph file, while the agenda initializes its index and offers contact and trash operations. The graph implementation is concentrated in one C++ file. The README provides no further capability details, and the excerpts do not show every menu branch, so uncertain links are omitted.
Main entry points: b-tree.go Agenda menu · grafo.cpp Graph model · indexFile.txt Index file · dataFile.txt Data file
Components 16
Contact agenda
- Agenda menu
b-tree/b-tree.go - Contact entry
b-tree/b-tree.go - B-tree index
b-tree/b-tree.go - Contact data
b-tree/b-tree.go - Trash operations
b-tree/b-tree.go - Index file
b-tree/indexFile.txt - Data file
b-tree/dataFile.txt
Graph tool
- Graph menu
grafo/grafo.cpp
Graph logic
- Graph model
grafo/grafo.cpp - Cost matrix
grafo/grafo.cpp - Graph traversal
grafo/grafo.cpp - Shortest path
grafo/grafo.cpp - Graph analysis
grafo/grafo.cpp
Other components
- Agenda user
- Graph user
- Input graph file
Connections 18
- Agenda user → Agenda menu: selects
b-tree/b-tree.go - Agenda menu → B-tree index: initializes
b-tree/b-tree.go - Agenda menu → Contact entry: collects
b-tree/b-tree.go - Contact entry → B-tree index: checks names
b-tree/b-tree.go - Agenda menu → Trash operations: offers actions
b-tree/b-tree.go - Trash operations → B-tree index: searches/removes
b-tree/b-tree.go - Trash operations → Data file: updates records
b-tree/b-tree.go - Agenda menu → Index file: loads index
b-tree/b-tree.go - Agenda menu → Data file: saves data
b-tree/b-tree.go - Agenda menu → Index file: saves index
b-tree/b-tree.go - Graph user → Graph menu: chooses operation
grafo/grafo.cpp - Graph menu → Graph model: loads graph
grafo/grafo.cpp - Input graph file → Graph model: reads graph data
- Graph menu → Graph model: invokes operations
grafo/grafo.cpp - Graph model → Cost matrix: builds costs
grafo/grafo.cpp - Graph model → Graph traversal: runs searches
grafo/grafo.cpp - Graph model → Shortest path: computes route
grafo/grafo.cpp - Graph menu → Graph analysis: requests Euler test
grafo/grafo.cpp