eparodi / functional-temporal-graphs

An approach to temporal graphs in functional programming

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Functional Temporal Graph

This project implements a library for graph functions and a web GUI to do some data exploration of temporal graphs done with Happstack and Blaze.

The library contains an implementation for:

  • Simple Graph (Unweighted edges)
  • Weighted Graph (Weighted edges)
  • Temporal Graph (Temporal weighted edges)

Requirements

  • Haskell
  • Stack
  • Cabal
  • Linux (To run Happstack)

How to run the GUI

  • Run the following command:
stack run
  • Open your browser and go to http://localhost:8000.
  • Start using it!

CSV format

The CSV file to run the algorithms must follow some rules:

  • It must not contain a header.
  • It must contains 4 columns.
    • Source Node.
    • Destination Node.
    • Departure Time.
    • Duration.

About

An approach to temporal graphs in functional programming

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Haskell 94.5%Language:CSS 3.2%Language:Python 2.3%