igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] Random Lattice graph with restrictions


From: Gábor Csárdi
Subject: Re: [igraph] Random Lattice graph with restrictions
Date: Wed, 5 Feb 2014 10:52:02 -0500

Hi, there is no such graph generator in igraph, AFAIK, so you'll need to program it for yourself. A simple way would be to create a full lattice with graph.lattice (in R), and then with some probability remove the lattice edges.

Gabor


On Wed, Feb 5, 2014 at 1:30 AM, Liora Braunstain <address@hidden> wrote:
Hello,

I am looking for a way to perform a simulation on a random lattice graph.
More specifically, i would like to simulate a graph with nodes in the first quarter only, blocked by some x+y=m equation, 
and generate edges between nodes in this space with some probability p, 
when edges can "go" either upward or right (no left and downwards).

I did not find answer to these questions and so turning to you with them:
1) Is there a way to define random graph generation of a lattice "type"?
2) Is there a way to restrict the created edges "behavior"  in the realization?

Thank you very much!
Liora Braunstein


_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help



reply via email to

[Prev in Thread] Current Thread [Next in Thread]