Help to write a psudoecode (formal) of this procedure.

  • #1

Main Question or Discussion Point

This is the core idea-
https://www.physicsforums.com/threads/complexity-analysis-problem-of-an-algorithm.812931/

I would like to write a formal psudoecode (latex), but as new writer I am having hard time to write, whatever I wrote is not easy to understand, so i would appreciate forum members help. Steps are-
1. Divide the matrix of graph G according to above link's descrption.
2. Divide the matrix of graph H, for all possible combinations according to above link's descrption.
3. Check all combinations of H with the defined(found in step 1) G's matrix.
** consider the E matrix as matrix which has distinguishable tuple/row.

A presentation is-
https://www.academia.edu/11354697/Graph_regular_Isomorphism_in_n_O_log2_n_
 

Answers and Replies

  • #2
11,814
5,439
Write your pseudo code like an outline and successively refine it with minor steps. Major steps might be multiply matrix A and B, minor steps might looping through cell by cell multiplication.

Code:
1) do this major step
    - do minor step 1
    - do minor step 2
        -- do this really minor step 1
        ...
2) do this major step

...
Here's a Khan Academy talk on pseudo code:

https://www.khanacademy.org/computing/computer-programming/programming/good-practices/p/pseudo-code [Broken]#
 
Last edited by a moderator:

Related Threads on Help to write a psudoecode (formal) of this procedure.

Replies
7
Views
1K
Replies
4
Views
2K
Replies
3
Views
594
  • Last Post
Replies
12
Views
3K
Replies
4
Views
9K
  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
3
Views
2K
Replies
4
Views
703
  • Last Post
Replies
1
Views
511
  • Last Post
Replies
6
Views
671
Top