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 8865143
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T16:25:48+00:00 2026-06-14T16:25:48+00:00

In an algorithms course quite some years ago, I came across an interesting graph

  • 0

In an algorithms course quite some years ago, I came across an interesting graph representation. It is basically a path matrix, but with extra information. Each cell Aij contains the (possibly empty) list of vertices adjacent to i that you can pass through to reach j.

For example, the directed graph informally represented as:

(Z → X)    (Z → Y)    (X → W)    (Y → W)

gets the following matrix:
enter image description here
When maintaining a matrix like this you have the advantage of knowing not only if there is a path from i to j, but what all possible paths are.

But I can’t for the life of me find any reference to this representation on the web. What’s it called?

  • 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-14T16:25:49+00:00Added an answer on June 14, 2026 at 4:25 pm

    After a lot of searching and a hint from an old teacher, I came upon the path reconstruction section of the Wikipedia article about the Floyd-Warshall algorithm. They store the ‘next node’ in the shortest path between i and j in the Aij cell of what they call a:

    next matrix

    In a set of slides by what appears to be a colleague of mine, it is called a:

    distance-next table

    in the same context. Granted, they are talking about storing the information of the shortest paths only. Of course, for that purpose it suffices to store only one node(-index) per cell. Neither of these sources is citing any scientific publication. But after searching for a long while, I strongly feel that the matrix representation from my original question was never officially named. So, I dub thee:

    path-next matrix

    If anyone can cite a scientific publication that says otherwise, I’d still be happy to accept their answer over my own.

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

Sidebar

Related Questions

I'm reviewing some old notes from my algorithms course and the dynamic programming problems
I have joined Standford online course on Algorithms design and now I'm solving the
I am learning MIT's open course 6.046 Introduction to Algorithms in Youtube, and I
I'm working on the first programming homework on Coursera's Algorithms: Design and Analysis course
This is the code (Euclid's algorithm for GCD). Of course there is Prelude.gcd but
Are there any algorithms available for analyzing the complexity of an image? Basically I'm
I'm sitting here with this assignment in a course on algorithms with massive data
This is a school-related question, although not exactly homework. I'm taking an algorithms course,
I'm learning about linear congruential generator in an algorithms and data structures course. After
I'm doing my final project for my algorithms course in C. For the project,

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.