# pauloagsantos/eda2026a architecture

> Architecture diagram of the GitHub repository pauloagsantos/eda2026a, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-26). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/pauloagsantos/eda2026a
- Repository: https://github.com/pauloagsantos/eda2026a

## Overview

This repository is a set of five independent Java coursework projects, not one integrated product. Their workflows demonstrate complex-number calculations, factorial algorithms, stack benchmarking, linked-list operations, and binary-search-tree benchmarking. The graph keeps those domains separate and includes their principal implementations and entry points. Relationships use the source excerpts or SOURCE INDEX references; unsampled behavior is not inferred.

Main entry points: [`Ficha2/src/ficha2/Ficha2.java`](https://github.com/pauloagsantos/eda2026a/blob/main/Ficha2/src/ficha2/Ficha2.java) (Stack Benchmark), [`Ficha2/src/ficha2/LimitedStack.java`](https://github.com/pauloagsantos/eda2026a/blob/main/Ficha2/src/ficha2/LimitedStack.java) (Limited Stack), [`Ficha3/src/ficha3/Ficha3.java`](https://github.com/pauloagsantos/eda2026a/blob/main/Ficha3/src/ficha3/Ficha3.java) (List Demo), [`Ficha3/src/ficha3/LinkedDupleList.java`](https://github.com/pauloagsantos/eda2026a/blob/main/Ficha3/src/ficha3/LinkedDupleList.java) (Doubly Linked List)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_complex["Complex Numbers"]
  node_complex_ui["Calculator UI"]
  node_complex_model["Complex Arithmetic<br/>[Complex.java]"]
end

subgraph group_math["Factorials"]
  node_math_entry["Math Demo<br/>[Ficha1.java]"]
  node_factorials["Factorial Methods<br/>[Math.java]"]
end

subgraph group_stacks["Stack Benchmark"]
  node_stack_entry["Stack Benchmark<br/>[Ficha2.java]"]
  node_stack_api["Stack Interface<br/>[Stack.java]"]
  node_limited_stack["Limited Stack<br/>[LimitedStack.java]"]
  node_linked_stack["Linked Stack<br/>[IlimitedStack.java]"]
  node_stack_exception["Full-Stack Error"]
end

subgraph group_lists["Linked Lists"]
  node_list_entry["List Demo<br/>[Ficha3.java]"]
  node_list_api["List Interface<br/>[LinkedList.java]"]
  node_singly_list["Singly Linked List"]
  node_doubly_list["Doubly Linked List"]
  node_list_extra_demo["List Exercise<br/>[aulaTP.java]"]
end

subgraph group_trees["Tree Benchmark"]
  node_tree_entry["Tree Benchmark<br/>[Ficha4.java]"]
  node_tree_api["Tree Interface<br/>[Tree.java]"]
  node_bst["Binary Search Tree"]
end

node_user(("User"))

node_user -->|"uses"| node_complex_ui
node_complex_ui -->|"calculates with"| node_complex_model
node_user -.->|"starts"| node_math_entry
node_math_entry -->|"calls"| node_factorials
node_user -.->|"starts"| node_stack_entry
node_stack_entry -->|"benchmarks"| node_limited_stack
node_stack_entry -->|"benchmarks"| node_linked_stack
node_limited_stack -->|"implements"| node_stack_api
node_linked_stack -->|"implements"| node_stack_api
node_limited_stack -->|"throws"| node_stack_exception
node_user -.->|"starts"| node_list_entry
node_list_entry -->|"exercises"| node_singly_list
node_list_entry -->|"exercises"| node_doubly_list
node_singly_list -->|"implements"| node_list_api
node_doubly_list -->|"implements"| node_list_api
node_list_extra_demo -->|"uses"| node_doubly_list
node_user -.->|"starts"| node_tree_entry
node_tree_entry -->|"benchmarks"| node_bst
node_bst -->|"implements"| node_tree_api

click node_complex_ui "https://github.com/pauloagsantos/eda2026a/blob/main/Ficha0/src/ficha0/FrmComplexNumbers.java"
click node_complex_model "https://github.com/pauloagsantos/eda2026a/blob/main/Ficha0/src/ficha0/Complex.java"
click node_math_entry "https://github.com/pauloagsantos/eda2026a/blob/main/Ficha1/src/ficha1/Ficha1.java"
click node_factorials "https://github.com/pauloagsantos/eda2026a/blob/main/Ficha1/src/ficha1/Math.java"
click node_stack_entry "https://github.com/pauloagsantos/eda2026a/blob/main/Ficha2/src/ficha2/Ficha2.java"
click node_stack_api "https://github.com/pauloagsantos/eda2026a/blob/main/Ficha2/src/ficha2/Stack.java"
click node_limited_stack "https://github.com/pauloagsantos/eda2026a/blob/main/Ficha2/src/ficha2/LimitedStack.java"
click node_linked_stack "https://github.com/pauloagsantos/eda2026a/blob/main/Ficha2/src/ficha2/IlimitedStack.java"
click node_stack_exception "https://github.com/pauloagsantos/eda2026a/blob/main/Ficha2/src/ficha2/StackFullException.java"
click node_list_entry "https://github.com/pauloagsantos/eda2026a/blob/main/Ficha3/src/ficha3/Ficha3.java"
click node_list_api "https://github.com/pauloagsantos/eda2026a/blob/main/Ficha3/src/ficha3/LinkedList.java"
click node_singly_list "https://github.com/pauloagsantos/eda2026a/blob/main/Ficha3/src/ficha3/LinkedSingleList.java"
click node_doubly_list "https://github.com/pauloagsantos/eda2026a/blob/main/Ficha3/src/ficha3/LinkedDupleList.java"
click node_list_extra_demo "https://github.com/pauloagsantos/eda2026a/blob/main/Ficha3/src/ficha3/aulaTP.java"
click node_tree_entry "https://github.com/pauloagsantos/eda2026a/blob/main/Ficha4/src/ficha4/Ficha4.java"
click node_tree_api "https://github.com/pauloagsantos/eda2026a/blob/main/Ficha4/src/ficha4/Tree.java"
click node_bst "https://github.com/pauloagsantos/eda2026a/blob/main/Ficha4/src/ficha4/BinarySearchTree.java"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_complex_ui,node_complex_model,node_user toneBlue
class node_math_entry,node_factorials toneAmber
class node_stack_entry,node_stack_api,node_limited_stack,node_linked_stack,node_stack_exception toneMint
class node_list_entry,node_list_api,node_singly_list,node_doubly_list,node_list_extra_demo toneRose
class node_tree_entry,node_tree_api,node_bst toneIndigo
```

## Components

### Complex Numbers

- [Calculator UI](https://github.com/pauloagsantos/eda2026a/blob/main/Ficha0/src/ficha0/FrmComplexNumbers.java): `Ficha0/src/ficha0/FrmComplexNumbers.java`
- [Complex Arithmetic](https://github.com/pauloagsantos/eda2026a/blob/main/Ficha0/src/ficha0/Complex.java): `Ficha0/src/ficha0/Complex.java`

### Factorials

- [Math Demo](https://github.com/pauloagsantos/eda2026a/blob/main/Ficha1/src/ficha1/Ficha1.java): `Ficha1/src/ficha1/Ficha1.java`
- [Factorial Methods](https://github.com/pauloagsantos/eda2026a/blob/main/Ficha1/src/ficha1/Math.java): `Ficha1/src/ficha1/Math.java`

### Stack Benchmark

- [Stack Benchmark](https://github.com/pauloagsantos/eda2026a/blob/main/Ficha2/src/ficha2/Ficha2.java): `Ficha2/src/ficha2/Ficha2.java`
- [Stack Interface](https://github.com/pauloagsantos/eda2026a/blob/main/Ficha2/src/ficha2/Stack.java): `Ficha2/src/ficha2/Stack.java`
- [Limited Stack](https://github.com/pauloagsantos/eda2026a/blob/main/Ficha2/src/ficha2/LimitedStack.java): `Ficha2/src/ficha2/LimitedStack.java`
- [Linked Stack](https://github.com/pauloagsantos/eda2026a/blob/main/Ficha2/src/ficha2/IlimitedStack.java): `Ficha2/src/ficha2/IlimitedStack.java`
- [Full-Stack Error](https://github.com/pauloagsantos/eda2026a/blob/main/Ficha2/src/ficha2/StackFullException.java): `Ficha2/src/ficha2/StackFullException.java`

### Linked Lists

- [List Demo](https://github.com/pauloagsantos/eda2026a/blob/main/Ficha3/src/ficha3/Ficha3.java): `Ficha3/src/ficha3/Ficha3.java`
- [List Interface](https://github.com/pauloagsantos/eda2026a/blob/main/Ficha3/src/ficha3/LinkedList.java): `Ficha3/src/ficha3/LinkedList.java`
- [Singly Linked List](https://github.com/pauloagsantos/eda2026a/blob/main/Ficha3/src/ficha3/LinkedSingleList.java): `Ficha3/src/ficha3/LinkedSingleList.java`
- [Doubly Linked List](https://github.com/pauloagsantos/eda2026a/blob/main/Ficha3/src/ficha3/LinkedDupleList.java): `Ficha3/src/ficha3/LinkedDupleList.java`
- [List Exercise](https://github.com/pauloagsantos/eda2026a/blob/main/Ficha3/src/ficha3/aulaTP.java): `Ficha3/src/ficha3/aulaTP.java`

### Tree Benchmark

- [Tree Benchmark](https://github.com/pauloagsantos/eda2026a/blob/main/Ficha4/src/ficha4/Ficha4.java): `Ficha4/src/ficha4/Ficha4.java`
- [Tree Interface](https://github.com/pauloagsantos/eda2026a/blob/main/Ficha4/src/ficha4/Tree.java): `Ficha4/src/ficha4/Tree.java`
- [Binary Search Tree](https://github.com/pauloagsantos/eda2026a/blob/main/Ficha4/src/ficha4/BinarySearchTree.java): `Ficha4/src/ficha4/BinarySearchTree.java`

### Other components

- **User**

## Connections

- User → Calculator UI: uses (evidence: `Ficha0/src/ficha0/FrmComplexNumbers.java`)
- Calculator UI → Complex Arithmetic: calculates with (evidence: `Ficha0/src/ficha0/FrmComplexNumbers.java`)
- User → Math Demo: starts
- Math Demo → Factorial Methods: calls (evidence: `Ficha1/src/ficha1/Ficha1.java`)
- User → Stack Benchmark: starts
- Stack Benchmark → Limited Stack: benchmarks (evidence: `Ficha2/src/ficha2/Ficha2.java`)
- Stack Benchmark → Linked Stack: benchmarks (evidence: `Ficha2/src/ficha2/Ficha2.java`)
- Limited Stack → Stack Interface: implements (evidence: `Ficha2/src/ficha2/LimitedStack.java`)
- Linked Stack → Stack Interface: implements (evidence: `Ficha2/src/ficha2/IlimitedStack.java`)
- Limited Stack → Full-Stack Error: throws (evidence: `Ficha2/src/ficha2/LimitedStack.java`)
- User → List Demo: starts
- List Demo → Singly Linked List: exercises (evidence: `Ficha3/src/ficha3/Ficha3.java`)
- List Demo → Doubly Linked List: exercises (evidence: `Ficha3/src/ficha3/Ficha3.java`)
- Singly Linked List → List Interface: implements (evidence: `Ficha3/src/ficha3/LinkedSingleList.java`)
- Doubly Linked List → List Interface: implements (evidence: `Ficha3/src/ficha3/LinkedDupleList.java`)
- List Exercise → Doubly Linked List: uses (evidence: `Ficha3/src/ficha3/aulaTP.java`)
- User → Tree Benchmark: starts
- Tree Benchmark → Binary Search Tree: benchmarks (evidence: `Ficha4/src/ficha4/Ficha4.java`)
- Binary Search Tree → Tree Interface: implements (evidence: `Ficha4/src/ficha4/BinarySearchTree.java`)
