forest.fire.game: Forest Fire Network Model

View source: R/games.R

forest.fire.gameR Documentation

Forest Fire Network Model

Description

[Deprecated]

forest.fire.game() was renamed to sample_forestfire() to create a more consistent API.

Usage

forest.fire.game(nodes, fw.prob, bw.factor = 1, ambs = 1, directed = TRUE)

Arguments

nodes

The number of vertices in the graph.

fw.prob

The forward burning probability, see details below.

bw.factor

The backward burning ratio. The backward burning probability is calculated as bw.factor*fw.prob.

ambs

The number of ambassador vertices.

directed

Logical scalar, whether to create a directed graph.


igraph/rigraph documentation built on May 19, 2024, 6:19 a.m.