Description Usage Arguments Details Value Examples
Creates a way through the portals and a link plan for a single agent.
1 |
g |
web |
way |
numeric vector: a sequence of portals the agent should go (default: NULL) |
direction |
numeric: angle main direction the agent will (default: NULL) |
If direction
is not set then the direction of the first principal component is as main direction choosen.
If way
is set then first is checked if we can create a maximum field with the path. If yes you get the link plan bakc.
a web with a way and link plan
1 2 3 4 5 6 7 8 9 10 | set.seed(0)
g <- homogeneous(2)
x <- cbind(runif(10), runif(10))
gi <- web(g, x)
g1 <- optimizeWeb(gi)
g2 <- linkPlan1(g1)
## Not run:
runPlan(g2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.