get_table_name {dynprog}R Documentation

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.


[Package dynprog version 0.1.1 Index]