haideralsh / unit-converter-graph

An example class used for learning about using graphs for real-world usecases

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unit-converter-graph

Class for a measurements unit converter that uses a graph where each vertex is a unit and each edge is a multiplier. Using a graph allows the class to convert between any two units from the same measurement even if there is no edge (multiplier) between them using other common vertices (units).

About

An example class used for learning about using graphs for real-world usecases


Languages

Language:TypeScript 100.0%