maxflow {martini}R Documentation

Maxflow algorithm

Description

Run the maxflow algorithm.

Usage

maxflow(A, As, At)

Arguments

A

A sparse matrix with the connectivity.

As

A vector containing the edges to the source.

At

A vector containing the edges to the sink.

Value

A list with vector indicating if the feature was selected and the objective score.


[Package martini version 1.14.0 Index]