Description Usage Arguments Details Value Author(s) References See Also Examples

Returns the best hamiltonian

1 |

`d` |
A |

`maxexact` |
If |

`nsamples` |
If |

`cycle` |
If |

`path_weight` |
Combines edge weights into a single path/cycle weight. |

`path_dir` |
If a function is provided, used to re-orient the cycle/path. Default function is |

`...` |
Ignored. |

Requires package gtools.
Currently it is possible to find the best hamiltonian by complete enumeration for up to 10 nodes.
When `path_dir`

is non NULL, the returned hamiltonian is also optimally oriented using `best_orientation`

, which compares orientations via `path_dir`

.

A vector containing a permutation of 1..n

C.B. Hurley and R.W. Oldford

see overview

1 2 | ```
require(PairViz)
order_best(eurodist)
``` |

PairViz documentation built on May 29, 2017, 12:23 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.