Giter VIP home page Giter VIP logo

jetbrains-intern-project-tarjan-scc's Introduction

JetBrains-Intern-Project-Tarjan-SCC

Code-Quality: Codefactor.io Badge

As part of my application as an intern, I was asked to implement Tarjan's algorithm for finding strongly connected components.

Documentation

Just a brief overview to explain the basic structure of the project

You can find the Tarjan implementation inside the Tarjan.kt file.

The Node.kt interface and the sample implementation TarjanNode.kt can be found inside the node subdirectory.

Helper classes, like the TarjanNodeData.kt, can be found inside the helper subdirectory. This class packs all the data needed per node inside a single class, which greatly helps the readability and cache-efficiency of the Tarjan implementation.

All the tests are divided into two groups: TarjanFunctionalTests.kt and TarjanEdgeCaseTests.kt.

To further ease the testing of huge graphs, a dynamic testing framework was created, which can found inside the helper subdirectory. For example, the TarjanTestHelper.kt file verifies the output of the Tarjan implementation, by checking the count and content of the strongly connected components (SCC) compared to the Kosaraju.kt algorithm.

jetbrains-intern-project-tarjan-scc's People

Contributors

ladnerjonas avatar

Watchers

 avatar

jetbrains-intern-project-tarjan-scc's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.