Search Results for

    DataStructures and algorithms

    A collection of basic algorithms and data structures (algodat)

    DataStructures (Experimental)

    • AvlTree
    • BstTree
    • The graphs datastructure with it vertices and edges is implemented as "linked list".
      • The idea is that it is not necessary to load the entire graph to execute an algorithm.
      • Each vertex can save a generic Value.
      • The graph is fully (de) serializeable.
    • LinkedList (will be reimplemented see)

    DataStructures.UI

    Wpf control to visualize, create and edit a graph. See here.

    Live Samples

    A* search algorithm

    alt text

    BFS - breadth first search

    alt text

    Kruskal

    alt text

    Introduction

    When taking a beginners class at the technical university of vienna, I started to implement and adopt some lessions from the algorithms and data structures course. I thought it would be fun to put my recently gained knowledge into practice.

    Of course some frameworks regarding this topic already exist. For example linked list and various tree classes. When applying these I ran into several issues like limited extensibility, missing features and all of them came from diffrent sources. Therefore I wasn't able to combine the tree classes, especially the data structure classes.

    So I started to create my own algorithms and data structures "framework".

    Goal

    With the old version of the framework I mainly focused on visually representing the graph data structure with wpf. (see UI\DataStructures.Demo)

    Some algo related links
    • The Algorithm Design Manual
    • A*Star https://www.codeguru.com/csharp/csharp/cs_misc/designtechniques/article.php/c12527/AStar-A-Implementation-in-C-Path-Finding-PathFinder.htm
    • The Travelling salesman problem is one of the most well know NP-hard problem. Concorde’s solver can be used to solve exactly or approximately even large instances. http://www.math.uwaterloo.ca/tsp/index.html
    • PRIM http://bioinfo.ict.ac.cn/~dbu/AlgorithmCourses/Lectures/Prim1957.pdf

    Graph control

    When creating the graph with the ui (graph control) the proper model will be created in the background. alt tag

    Another approach would be to overgive a graph data structure to the graph visualization control which created the proper ui graph. One of the benefits of the old implemention is that the kruskal algorithm creats a copy of the graph, therefore the vertices dont't stay in the same position.

    alt tag

    When modifying a graph during runtime, the graph visualization control updates the ui.

    alt tag

    The aforementioned features (graph visualization control) will be implemented into the new framework as well.

    • Improve this Doc
    In This Article
    Back to top DataStructures.Algorithms