pharo-projects

Description

A very simple simulation where robots collect minerals.

Details

Source
GitHub
Dialect
pharo (25% confidence)
License
MIT
Created
March 18, 2025
Updated
April 9, 2025

README excerpt

# Stack and Queue
Implementation of Stack and Queue (circular queue) data structures in Pharo.

Testing Stack code in Playground 
(attaching images for reference)

![image](https://github.com/user-attachments/assets/9c13c73f-4a89-40d2-ab12-dfa340c17f8e)

Output

![Screenshot 2025-04-04 102303](https://github.com/user-attachments/assets/fcc5ebf1-3a03-4d7a-90a9-6f92ba421ad2)

Testing code for Queue in Playground

![Screenshot 2025-04-04 105915](https://github.com/user-attachments/assets/5e867b26-68d9-4a26-ac5f-f877fd939a3f)

Output

![Screenshot 2025-04-04 105930](https://github.com/user-attachments/assets/e2a1c9f9-b139-4812-a8f1-74ebb4101af4)

# Warshall Algorithm
Implementation of Warshall algorithm to find transitive closure

![Screenshot 2025-04-05 190357](https://github.com/user-attachments/assets/13070173-a69e-46dd-8a9d-641a6e799d02)

# Bisection Method
Implementation of Bisection Method to find root of an equation

![image](https://github.com/user-attachments/assets/3569e100-5e88-45f7-8d29-2ced26c5d7a9)

# Lagrange's Interpolation
Implementation of Lagrange's Interpolation to estimate the value of a function at any point within a certain range

![image](https://github.com/user-attachments/assets/bc62cacf-90e4-4ff8-b056-7ee553a57ce6)



Reference: [CLRS](https://enos.itcollege.ee/~japoia/algorithms/GT/Introduction_to_algorithms-3rd%20Edition.pdf), My notes from [Discrete Mathematics](https://drive.google.com/file/d/1l5OkJ-YzEgJ-BQTXcohp07My7oBhLLCz/view?usp=drive_link) and [Numerical Methods](https://drive.google.com/file/d/1l-w6sdQbVBSLB8s0cQTPqchTvAMQFN3c/view?usp=sharing)


Work in progress as of now.
I might add the Pharo implementation of more data structures and algorithms or some other basic beginner level programs that I used to write in JAVA.
Next topics to implement:
> Bubble sort, Newton Raphson method, Breadth First Search, Depth First Search
← Back to results