ccnpk: ccnp-k

Description Usage Arguments Details Value Author(s) Examples

Description

Compute solutions to the CCNP-k problem

Usage

1
  ccnpk(ccg, alg = "greedy", ...)

Arguments

ccg

a ccgraph object

...

Arguments to be passed to compgraph

Details

Calls various algorithms

Value

A solution, or NULL is the tasks are unsolvable

Author(s)

Ben Baumer

Examples

1
2
3
4
n = 20
p = 1/2
ccg = ccg.game(n, p, capacity=2)
ccnpk(ccg)

beanumber/compgraph documentation built on May 12, 2019, 9:42 a.m.