ccnpk.greedy: ccnpk.greedy

Description Usage Arguments Details Value Author(s) Examples

Description

Compute a greedy solution to the CCNP-k problem

Usage

1

Arguments

ccg

a ccgraph object

...

Arguments to be passed to compgraph

Details

Tries complete all tasks

Value

A greedy 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)
ccnpk.greedy(ccg)

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