Code Monkey home page Code Monkey logo

implicit-transition-graph's Introduction

Dynamic and Static Planning

Write a program that implements one of the algorithms of dynamic or static planning.

πŸ“ Task

Develop a program for selecting vertices that have a sign of implicit transition (the number of vertices is not less than 30).

πŸ“™ Description

The source information for structural analysis is a graph of the problem, presented in a tiered-parallel form. Each vertex of the original graph after analysis is marked and assigned the sign of "transition".

General algorithm for solving this problem:

  1. Identify a critical path;
  2. Cluster implicit transition vertices. This is done in order to group implicit transition vertices and thus reduce the width of the graph, and hence the number of processors.

The following graph was used to test the program part:

Main Graph

Critical path: 0 β†’ 2 β†’ 5 β†’ 8 β†’ 11 β†’ 14 β†’ 16 β†’ 21 β†’ 22 β†’ 26 β†’ 28 β†’ 30

Let's check the accuracy on a graph of lower dimension:

Test Graph

Now we choose the critical path:

Test Graph (Critical Path)

Tcr = 7 + 7 + 2 = 16

Zeroing the critical path and clusterize the vertices:

Test Graph (Π‘lasterisation)

Tcr = 7 + 7 + 2 = 16

After clasterisation Tcr did not increase, which confirms the correctness of the work. The program found the critical path and clustered the vertices in the same way. Screenshot of the implementation are given below.

πŸ“· Results

Result

implicit-transition-graph's People

Contributors

jackshendrikov avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.