-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Response to review comments on testEdgeThresh.R #37
Comments
Here are the major concerns I have at this point. (1b) Once you have worked this out, tell me specifically whether a graph of order < Lmax is invalid. (2) Your description of a swap of bidirected edges appears wrong. Please describe clearly how bidirected edges are to be swapped. (3) I have requested an answer to the question whether the algorithm needs to find simply connected components, or strongly connected components. Answer, and justify. (4) You are varying Q in your tests. I need you to explain why. (5) You are claiming that the range of delta should be between 0 and 1. Why do you think that? (6) The considerations about disconnecting the graph may be misplaced. It is prohibitively expensive to test connectedness during edge-swapping, or to test for bridges, but it is trivial to reconnect components at the end of the permutation if any have been produced. When you are done, reopen the issue. |
|
@hyginn I cannot reopen this issue, so I will open another one. |
Commented. |
@hyginn Ok, I guess I have a working algorithm, I hoped that my questions above would have been answered by now. Anyways, I'll submit a pull request for a semi-final review. |
I have added comments to your comments. We are not making enough progress in the discussion. There are fundamental flaws in your design. Do not continue further development. I will write pseudocode for you to work with. |
@hyginn Would you tell me which part of the process I have backwards? Incrementing delta (threshold), and having the size of the largest connected component decrease gradually? Which part of my design is wrong? I was trying to follow the design on the task page. |
@hyginn This is what I had in mind, the delta values decrease gradually, as seen in Leiserson's paper.
|
Here is the algorithm in Pseudocode. Comment here if you have questions, otherwise transfer to your rete fork as required and start designing (not writing!) the required tests. Make sure you understand the code and that it implements the requirements. Bonus marks for finding significant errors, but don't get distracted by that.
|
Pseudocode and instructions added. |
@hyginn From the design page:"The algorithm computes delta values for all subnetwork orders from 2 to Lmax." So this is where I had it wrong? I thought I had to increase ord from 2 to Lmax (or Lmin to Lmax, based on the recent change) and capture the delta values that create a largest connected component of size ord, I guess I was mistaken. And yes, that was my loop iterator. |
I have updated the pseudocode.
Corrected to:
|
@hyginn
Output of
As is shown, there is a fluctuation after ORD13. |
Comments are tagged
The text was updated successfully, but these errors were encountered: