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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T09:10:54+00:00 2026-06-03T09:10:54+00:00

I have an asymmetric directed graph with a set of probabilities (so the likelihood

  • 0

I have an asymmetric directed graph with a set of probabilities (so the likelihood that a person will move from point A to B, or point A to C, etc). Given a route through all the points, I would like to calculate the likelihood that each choice made in the route is a good choice.

As an example, suppose a graph of just 2 points.

//In a matrix, the probabilities might look like
//A     B
[ 0    0.9  //A
  0.1   0 ] //B

So the probability of moving from A to B is 0.9 and from B to A is 0.1. Given the route A->B, how correct is the first point (A), and how correct is the second point (B).

Suppose I have a bigger matrix with a route that goes A->B->C->D. So, some examples of what I would like to know:

  • How likely is it that A comes before B,C, & D
  • How likely is it that B comes after A
  • How likely is it that C & D come after B

Basically, at each point, I want to know the likelihood that the previous points come before the current and also the likelihood that the following points come after. I don’t need something that is statistically sound. Just an indicator that I can use for relative comparisons. Any ideas?

update: I see that this question is not useful to everyone but the answer is really useful to me so I’ve tried to make the description of the problem more clear and will include my answer shortly in case it helps someone.

  • 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-03T09:10:55+00:00Added an answer on June 3, 2026 at 9:10 am

    After much thought, I came up with something that suits my needs. It still has the the same problem where to get an accurate answer would require checking every possible route. However, in my case, only checking direct and the first indirect routes are enough to give an idea of how “correct” my answer is.

    First I need the confidence for each probability. This is a separate calculation and is contained in a separate matrix (that maps 1 to 1 to the probability matrix). I just take the 1.0-confidenceInterval for each probability.

    If I have a route A->B->C->D, I calculate a “correctness indicator” for a point. It looks like I am getting some sort of average of a direct route and the first level of indirect routes.

    Some examples:

    Denote P(A,B) as probability that A comes before B
    Denote C(A,B) as confidence in the probability that A comes before B
    Denote P`(A,C) as confidence that A comes before C based on the indirect route A->B->C

    At point B, likelihood that A comes before it:

    indicator = P(A,B)*C(A,B)/C(A,B)

    At point C, likelihood that A & B come before:

    P(A,C) = P(A,B)*P(B,C)
    C
    (A,C) = C(A,B)*C(B,C)

    indicator = [P(A,C)*C(A,C) + P(B,C)*C(B,C) + P'(A,C)*C'(A,C)]/[C(A,C)+C(B,C)+C'(A,C)]

    So this gives me some sort of indicator that is always between 0 and 1, and takes the first level indirect route into account (from->indirectPoint->to). It seems to provide the rough estimation I was looking for. It is not a great answer, but it does provide some estimate and since nothing else provides anything better, it is suitable

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

Sidebar

Related Questions

I have a set of filenames coming from two different directories. currList=set(['pathA/file1', 'pathA/file2', 'pathB/file3',
I'm trying to set up a web service so that it will download zip
I have a web service that needs to be protected from unauthorized users. I
We have a server with a database that has a symmetric key (Database ->
I have a data structure that looks like this: Model Place primary key id
I want to use an asymmetric cryptography algorithm, but I need it have short
So, I have a working protocol that the Client needs to authenticate with user
I have a program that regularly appends small pieces (say 8 bytes) of sensitive
I read that an overloaded operator declared as member function is asymmetric because it
Imagine for a moment that we're using classic asymmetric encription with WCF (private/public key

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.