flennic / advanced-r-programming-3

Repository for the course 732A94 Advanced Programming in R at Linköping University 2018. Assignment 3.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advanced Programming in R - Assignment 3

Build Status

Coverage Status

This is the 3rd assignment of the course Advanced Programming in R at Linköping University in 2018.

Course information and all assignments can be found at https://www.ida.liu.se/~732A94/info/courseinfo.en.shtml.

Exercise

The exercise for the 3rd assignment is to implement the euclidean and dijkstra algorithm.

Installation

The package can be downloaded from GitHub via R with:

devtools::install_github("flennic/advanced-r-programming-3")

Example

library(euclid.dijkstra)

# Example for the euclidean algorithm
euclidean(20,50)
#> [1] 10

# Example for the Dijkstra Algorithm
dijkstra(wiki_graph, 3)
#> [1]  9 10  0 11 11  2

About

Repository for the course 732A94 Advanced Programming in R at Linköping University 2018. Assignment 3.

License:Apache License 2.0


Languages

Language:R 100.0%