Search best subnetworks that maximize given objective functions.

1 2 | ```
best_subnets(func, net.matrix, max.size = 10, exhaust.size = 5,
max.top = 10000)
``` |

`func` |
The objective function to maximize |

`net.matrix` |
The adjacent matrix of network |

`max.size` |
The maximal size of subnetworks |

`exhaust.size` |
The maximal size of subnetworks that use exhaustive searching strategy |

`max.top` |
The maiximal number of top candidates kept for evaluation of next size, used in heuristic searching strategy |

Enumerate and search the best subnetworks that maximize given objective function. If the size of
subnetworks <= `exhaust.size`

, exact exhaustive searching is applied,
otherwise, heuristic searching algorithm is used.

A list with the following two components:

`subnets` |
The list of top subnetworks in different sizes |

`obj.values` |
The list of objective values of corresponding subnetworks |

get_subnets, extend_subnets

1 2 3 4 5 6 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.