igraph / xdata-igraph

xdata igraph, has been merged into igraph/igraph
GNU General Public License v2.0
18 stars 3 forks source link

List of C's for hsbm.game #7

Closed gaborcsardi closed 10 years ago

gaborcsardi commented 10 years ago

Dear Gabor,

The current hsbm.games take only a matrix for C, right?

Yes, I remember we wanted C a matrix originally, but already we're thinking ahead. So, how hard is it to modify it so that it can take a list of matrices (a length of n/m blocks) ? Can you make it

  • if C is a matrix, it uses C for all n/m blocks,
  • if C is a list of matrices (length of n/m), then use one matrix for a block.

Thanks in advance!

  • Youngser

are all C's of the same size? What is rho if C is a list?

gaborcsardi commented 10 years ago

are all C's of the same size?

I think it'd be better if C can have any sizes of matrices?

So m will be eliminated?

What is rho if C is a list?

Actually, I haven't tried this yet.

I guess rho also can be a list with different sizes of vectors ? And, if rho is a vector and C is a list of matrices of the same size (dim), then rho can be reused, and so on.

Does this make sense?

Carey, is this what you had in your mind?

gaborcsardi commented 10 years ago

Oh, I see.

Let's see what Carey has to say.

gaborcsardi commented 10 years ago

So m will be eliminated?

no, i need m. if C is a single matrix, C is to be repeated R=n/m times. (that's what we have now?) if C is a list of matrices, it should be length R. yah?

gaborcsardi commented 10 years ago

Done.