static.fitness.game() was renamed to sample_fitness() to create a more
consistent API.
Usage
static.fitness.game(
no.of.edges,
fitness.out,
fitness.in = NULL,
loops = FALSE,
multiple = FALSE
)Arguments
- no.of.edges
The number of edges in the generated graph.
- fitness.out
A numeric vector containing the fitness of each vertex. For directed graphs, this specifies the out-fitness of each vertex.
- fitness.in
Numeric vector that specifies the in-fitness of each vertex. The generated graph will be directed. Default:
NULL, the generated graph will be undirected.- loops
Logical, whether to allow loop edges in the graph.
- multiple
Logical, whether to allow multiple edges in the graph.
