Learn R Programming

dynprog (version 0.1.1)

get_table_name: Extract the table name from a pattern.

Description

We generally assume that patterns are on the form table[exprs] where table is the name of the dynamic programming table. This function extract that name.

Usage

get_table_name(patterns)

Arguments

patterns

The patterns used in the recursion.

Value

The table part of the pattern.