Giter Club home page Giter Club logo

adv-lib's Introduction

ADV - Algorithm and Datastructure Visualizer

Download Codacy Badge Build Status codecov

The Algorithm & Data Structure Visualizer (ADV) helps students to understand the concepts of several data structures and algorithms, taught at the University of Applied Science in Rapperswil (HSR).

ADV-Lib

The ADV-Lib is a Java Library offering classes and interfaces to visualize data structures. Once implemented, the state of a data structure can be sent to the ADV-UI to be displayed. Algorithms can be visualized by the use of styles.

Install

The ADV-Lib is available on jCenter. It requires Java 11 or higher.

Gradle

compile 'ch.hsr.adv:adv-lib:2.0'

Maven

<dependency>
  <groupId>ch.hsr.adv</groupId>
  <artifactId>adv-lib</artifactId>
  <version>2.0</version>
</dependency>

Starter Projects

ADV offeres Starter Projects for both Maven and Gradle. These Projects are empty IntelliJ Projects with pre-configered ADV dependencies. Gradle Starter Maven Starter

Usage

Connect to the UI:

ADV.launch(args);

Use any of ADV's Modules to implement your data structures and algorithms. Here is an example with the array module:

private static final String[] objectArray = new String[7];
private static final ArrayModule arrayModule = new ArrayModule("ObjectArray", objectArray);

Send snapshots of the state of your data structure to the ADV UI to be displayed:

ADV.snapshot(arrayModule, "Default Initialization of a String array.");

Have a look at the User Codebase Project for more examples.

adv-lib's People

Contributors

codacy-badger avatar michiwieland avatar murieletrentini avatar supernaibaf avatar w1nt0r avatar

Watchers

 avatar

adv-lib's Issues

Gson Generic Support

Gson seems to be unable to serialize and deserialize complex generic objects. Understandably, they cannot infer the generic type at runtime (due to type erasure). Although this problem can be solved with gson-type-tokens, it is more tricky if we want to support any kind of types. (because we do not know which generic type argument is used by the student)

Due to this problem, the branch Codestyle Branch is not working properly. (v1.1 on Bintray)

Please see also:

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.