graph-algorithms
graph-algorithms copied to clipboard
A graph algorithms library implemented in Pharo
Currently, our Prim's algo implementation explicitly returns in the method run. See `AIPrim>>#run`. The last line it returns the edges. This breaks the API convention for all the other algos....
Currently the nodes are stores in a collection. We have two types of nodes: the "model nodes" that are the ones that the user send as a parameters; and the...
If we go through the AIGraphAlgorithm class, while adding each node we see that we are searching if the node exists. ``` nodes: aNodeList aNodeList do: [ :model | self...
It is important to benchmark the algorithms - To see where are our bottlenecks and know what we can improve. I'm thinking on the use of data structures for example....
**Description:** The Edmonds-Karp algorithm is a specific implementation of the Ford-Fulkerson method that finds the maximum flow in a flow network. It uses Breadth-First Search (BFS) to find the shortest...
Unit tests for AIShortestPathWithMaxAndMinNodes are missing. The class is not referenced at all. Presumably the only algorithm class not tested. In fact, the run method is empty!
## Description: Betweenness Centrality is a graph centrality measure that quantifies the importance of a node based on how often it lies on the shortest paths between other nodes in...