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

  • Home
  • SEARCH
  • 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 8964239
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T16:32:35+00:00 2026-06-15T16:32:35+00:00

Given a list of all the nodes in a Graph, G, a list of

  • 0

Given a list of all the nodes in a Graph, G, a list of all the existing connections (edges) and a list of the adjacency lists of all the nodes, how can one proceed to find out the list of dominators of a given node?

One way I was thinking of is as follows:

For a given node, N, find out all the paths from the root node to N. The intersection of these paths will give me a set of nodes that dominate N. But the catch here is, how do I really find out the paths? Especially, while coding in JAVA.

Any helpful answers, in specific, would be appreciated.

Thank you!

  • 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-06-15T16:32:37+00:00Added an answer on June 15, 2026 at 4:32 pm

    I implemented Tarjan’s algorithm successfully.

    FWIW, it goes like:

    To find out a set of nodes that n dominates, just compute all the paths (easy to deal with, once we have the adjacency lists of all the nodes) from the start node to the rest of the nodes avoiding n. Let this reachable set of nodes be R. The nodes that n would dominate are the ones that are not present in R. That is to say, if U be the set of all the nodes of a given graph, n would dominate the nodes belonging to the set U-R.

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

Sidebar

Related Questions

How to list all permissions enabled by given module(s)?
I push a button and a list all the files in my given path
Is there a way using SQL to list all foreign keys for a given
How do I view a list of all the gems in a given gemset?
Given the following list of descending unique numbers (3,2,1) I wish to generate all
have a database with a list of business leads. They are all given a
Given an R list, I wish to find the index of a given list
I have designed a weighted graph using a normalized adjacency list in mysql. Now
I've a directed unweighted graph. Number of nodes and all links between nodes are
Given: A list of nodes A list of nodes those nodes may connect to

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.