Walks and eccentricity, graph theory
Hi, i have an adjacency matrix where Aij denotes the number of edges from vi to vj, edges going out from the vi gives the elements in the first row and now of the matrix and now i want to:
first, write a function exwalk(A) compute a matrix containing the number of walks between vi and vj in exactly k steps.
use exwalk(A) to create a function maxwalk(A, k) compute the number of walks in at most k steps.
write a function eccentricities(A) compute a list of ecc(v) eccentricities for all vertices.Hi, i have an adjacency matrix where Aij denotes the number of edges from vi to vj, edges going out from the vi gives the elements in the first row and now of the matrix and now i want to:
first, write a function exwalk(A) compute a matrix containing the number of walks between vi and vj in exactly k steps.
use exwalk(A) to create a function maxwalk(A, k) compute the number of walks in at most k steps.
write a function eccentricities(A) compute a list of ecc(v) eccentricities for all vertices. Hi, i have an adjacency matrix where Aij denotes the number of edges from vi to vj, edges going out from the vi gives the elements in the first row and now of the matrix and now i want to:
first, write a function exwalk(A) compute a matrix containing the number of walks between vi and vj in exactly k steps.
use exwalk(A) to create a function maxwalk(A, k) compute the number of walks in at most k steps.
write a function eccentricities(A) compute a list of ecc(v) eccentricities for all vertices. graphtheory MATLAB Answers — New Questions