Learn R Programming

WaMaSim (version 1.0.0)

do.nothing: Rehabilitation strategy: no pipe replacement, repairs only

Description

Dummy strategy to model no rehabilitation at all.

Usage

do.nothing(state)

Arguments

state

a state list

Value

a state list

See Also

replace.n.highest.risk, replace.n.oldest, replace.n.random, replace.older.than, replace.more.failures.than

Examples

Run this code
# NOT RUN {
## define a strategy function that can be passed to simulate_network():
mystrategy <- . %>% do.nothing

# }

Run the code above in your browser using DataLab