I can not understand a certain part of the article published by Donald Johnson on the search for cycles (schemes) on the chart.
More specifically, I cannot understand what the matrix Ak is, which is mentioned in the next line of pseudocode:
Ak: = the adjacency structure of the strong component K with the smallest vertex in the subgraph G, induced by {s, s + 1, ... n};
to aggravate some lines after the βcopsβ for me in Vk do, without declaring what Vk is ...
As I understand it, we have the following: 1) in the general case, the strong component is a subgraph of the graph, in which for each node of this subgraph there is a path to any node of the subgraph (in other words, you can access any node of the subgraph from any other node of the subgraph)
2) the subgraph induced by the list of nodes is a graph containing all these nodes and all the edges connecting these nodes. the mathematical definition in the document is: βF is the subgraph G induced by W if W is the subset of V and F = (W, {u, y) | u, y in W and (u, y) in E)}) where u, y are edges, E is the set of all edges in the graph, W is the set of nodes.
3) in the code implementation, nodes are called integers 1 ... n.
4) I suspect that Vk is the set of nodes of the strong component K.
now to the question. Suppose that we have a graph G = (V, E) with V = {1,2,3,4,5,6,7,8,9}, which can be divided into 3 strong components: SC1 = {1, 4,7,8} SC2 = {2,3,9} SC3 = {5,6} (and their edges)
Can someone give me an example for s = 1, s = 2, s = 5, what if you are going to be Vk and Ak according to the code?
Pseudocode in my previous question Understanding Pseudocode in Donald B. Johnson's Algorithm
and the document can be found in Understanding Pseudocode in Donald B. Johnson's Algorithm
early