Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5974951
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T21:00:54+00:00 2026-05-22T21:00:54+00:00

Greetings, Can anyone please tell me what algorithm is used for traversing a directed

  • 0

Greetings,

Can anyone please tell me what algorithm is used for traversing a directed acyclic graph/ diagram like this :

Ex.
Diagram nodes : A, B, C, D1, D2, D3, E
Diagram edges : A → B, B → C, C → D1, C → D2, C → D3, D1 → E, D2 → E, D3 → E

The traversal is like this :

A → B → C → D1, then C → D2, then C → D3,
And after that, they join : D1 → E, D2 → E, D3 → E

My graph represents real time operations. Most operations are linear, but when operations split on condition, each split (ex. node C splits to D1, D2 and D3) waits for all operations to finish before they join again (ex. nodes D1, D2 and D3 join at node E)

I need to iter over my nodes and call each operation in this exact order.

I use Python with pygraph, but you can use any language if you want to post some algorithm.

Maybe it’s a standard name for this algorithm, like Depth-first search, Dijkstra’s algorithm, Hill climbing, i don’t know ?…

Thank you very very much !

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T21:00:54+00:00Added an answer on May 22, 2026 at 9:00 pm

    A topological sort will give you the order that you need to perform the operations in given the edges.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Greetings, Can anyone tell me how the heck I'm meant to use a maven
Greetings! Can anyone please kindly assist me finding a way around the following: load
Greetings I may have imagined this but does anyone know if Last.fm previously used
Greetings, Can someone help me with this? I am trying to make a desktop
Greetings, Does anyone know how I can get coarse GPS coordinates when I don't
This is, hopefully, a simple question: First, I would like to know if anyone
Greetings, I have a particular object which can be constructed from a file, as
I've spent far too much time with this and can't find the mistake. Maybe
Greetings, I'd like to insert html via a form into my database using php.
Greetings, I would like to place an image over a surfaceview. However I would

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.