getMWIS: getMWIS

Description Usage Arguments Value References Examples

View source: R/getMWIS.R

Description

getMWIS identifies all the maximum weighted independant sets from a list of mvc.

Usage

1
getMWIS(MVC, p = FALSE, prefix = "out")

Arguments

MVC

a list of objects of class mvc.

p

logical, for graphical output, set to TRUE by default.

prefix

name of the graphical output directory, set to "out" by default.

Value

a list of object of class mvc candidate for mvs.

References

S. Sakai, M. Togasaki, K. Yamazaki. A note on greedy algorithms for the maximum weighted independent set problem. Discrete applied Mathematics , 126:313-322, 2003.

Examples

1
2
3
4
5
6
## Not run: data("MS5")
e = c(5,6)
p = c(5, 10)
MVC = tryParam(e, p , MS5$cov)
MWIS = getMWIS (MVC)
## End(Not run)

madoui/metaVaR documentation built on June 6, 2020, 2:09 p.m.