Tuesday, September 8, 2015

"Train" problem with Dijkstra, Depth First Search and combinatorial algorithm (Java)


The local commuter railroad services a number of towns in Kiwiland.  Because of monetary concerns, all of the tracks are 'one-way.'  That is, a route from Kaitaia to Invercargill does not imply the existence of a route from Invercargill to Kaitaia.  In fact, even if both of these routes do happen to exist, they are distinct and are not necessarily the same distance!

The purpose of this problem is to help the railroad provide its customers with information about the routes.  In particular, you will compute the distance along a certain route, the number of different routes between two towns, and the shortest route between two towns.

Saturday, February 14, 2015

MasterMind game - Implementation in MVC design pattern (C++)

MasterMind game is designed based on idea of MVC design pattern and is implemented on C++.

Saturday, January 17, 2015

D-BUS example

D-BUS is a framework developed for IPC method (inter-process communication) in Linux. Below is a example for how to setup, implement and build an application using gdbus.