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 documentation built on Oct. 20, 2024, 1:06 a.m.