Learn R Programming

segclust2d (version 0.3.3)

DynProg_algo_cpp: DynProg_algo_cpp

Description

This function finds the best segmentation given a Cost Matrix using a dynamic programming algorithm. C++ implementation of DynProg

Usage

DynProg_algo_cpp(matD, Kmax)

Arguments

matD

Cost Matrix

Kmax

number of segments