# NOT RUN {
g <- graph("Cubical")
steiner_simulation(type = c("SP", "KB", "SPM"),
graph = g,
ter_list = generate_st_samples(graph = g,
ter_number = c(2, 3),
prob = c(0.1, 0.2)))
steiner_simulation(type = c("EXA", "RSP"),
graph = g,
ter_list = c(1, 3, 8))
# }
Run the code above in your browser using DataLab