Skip to content

Codebase to calculate DAG of tasks with user interface included. Memory efficient solution using DFT.

Notifications You must be signed in to change notification settings

Dragomir2020/DAG

Repository files navigation

DAG

Codebase to calculate DAG of tasks with user interface included. Memory efficient solution using DFT.

Topologically sorts the information to print out which order the tasks should go if there are no cycles.

Compile Code

g++ DAG.cpp -o DAG

Run Code

./DAG

User Interface

  • Code walks user through running itself
  • Type number of tasks and their names
  • Give tasks relations to each other
  • Code will attempt to determine if the graph is a DAG and return the order if it is

Successfuly Calculates Topological Order

Alt text

Example of Graph that is not Directed Acyclical

Alt text

Boundary Testing for Vertex Relation Creation

Alt text

Memory Analysis

Using valgrind memory is verified to be cleaned up. Alt text

About

Codebase to calculate DAG of tasks with user interface included. Memory efficient solution using DFT.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages