PDA

View Full Version : Graph Theory Programming Languages



Razanir
2013-12-09, 02:13 PM
What are some good programming languages for graph theory? More exactly, I need to write a program to calculate the expected value of a Markov chain. So I need a good language for traversing a graph and keeping track of weights as I go.

Drumbum42
2013-12-10, 11:06 AM
What are some good programming languages for graph theory? More exactly, I need to write a program to calculate the expected value of a Markov chain. So I need a good language for traversing a graph and keeping track of weights as I go.

I'd say you should use what ever you're most comfortable with, as most popular languages can probably do this equally well. This is less of "what language can do this" and more how to do this. I may suggest a language with objects for easier organization, but that's hardly mandatory.

If I were doing this I'd probably use LinkedLists in Java, but that's because I do most of my programming in Java. C++ or Python could probably do this just as easy.