# NOT RUN {
# Using the data from Figure 1 in Roberts & Kroese (2007)
A = matrix(c(0,1,0,1,0,
1,0,0,1,1,
0,0,0,1,1,
1,1,1,0,0,
0,1,1,0,0), nrow=5)
paths = social.all.paths(A, 1, 5)
# }
Run the code above in your browser using DataLab