Skip to content

Commit 7194b74

Browse files
committed
Minor updates to comments
1 parent 37d542d commit 7194b74

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Several scripts are distributed for the user to generate $C$ matrices for standa
6161
These scripts generate unweighted adjacency matrices, then the user should weight the edges.
6262
A sample generating a weighted, directed Watts-Strogatz ring network of $N$ nodes, with in-degree $d$,
6363
and rewiring probability $p$, without self-connections allowed from re-wiring, and ensuring
64-
the network remains connected:
64+
the network remains at least weakly-connected:
6565

6666
```matlab
6767
% First generate the unweighted adjacency matrix without self-edges:
@@ -96,6 +96,8 @@ As such, there are two steps involved here:
9696
% Then compute sigma^2:
9797
exp_sigma_sqr = synchronizability(Omega_U);
9898
```
99+
The call to `covarianceUGaussianNet` will throw an error if the matrix does not meet synchronisation conditions,
100+
or will not ensure guaranteed convergence of $\Omega_U$.
99101

100102
## 1.3 Batch experiments involving parameter sweeps and repeat runs
101103

generateNewRandomRingMatrix.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
% For undirected graphs, we don't allow connection to an odd number of
1313
% other nodes (too unconstrained to work out who to connect to)
1414
% - allowSelf - whether to allow rewired connected to be made to oneself.
15-
% - ensureConnected - only return a connected matrix.
15+
% - ensureConnected - only return an at least weakly-connected matrix.
1616
% If this is set to true, then p must be >= 2/N(N-1) for undirected, 1/N(N-1) for directed, for the matrix to be connected.
1717
% Note: if allowSelf==true, then (N-1) -> N here.
1818
%
@@ -133,7 +133,7 @@
133133
%printf('Rewired %d out of %d edges considered\n', rewirings, edgesConsidered);
134134

135135
if (ensureConnected)
136-
% Now check that the matrix is connected
136+
% Now check that the matrix is at least weakly connected
137137
symmA = A | A';
138138
visited = zeros(1,N);
139139
visited = runDfs(symmA,N,1,visited);

parametersTemplate.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
% So (b - c) is the strength of coupling to previous state of the destination.
3333
% For stability we require |b| < 1 when undirected, though b == 1 ensures
3434
% zero-mode as an eigenvector (for our first sync paper we only use b =
35-
% 1).
35+
% 1). Using this then does not guarantee stability in this case.
3636
parameters.b = 1.0;
3737
% - c - as above; c is the total strength of non-self coupling of the sources to the destinations.
3838
% For stability we require |b - 2c| < 1 when undirected (though I don't

0 commit comments

Comments
 (0)