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 <[email protected]>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
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>
>
_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to