Advanced Table Specification

back to Table Specification

Introduction

Beside the usage of Simple Table Specification , we also provide with advanced table specification to define the behavior of components. There are three table patterns are supported in a Advanced Tabular Specification: State Transition Tables, Mode Transition Tables, and Function Tables. For more information, please refer to table pattern supported in AF3. For more information about function tables, please refer to function tables in AF3.



Creating an Advanced Tabular Specification

To create a Advanced Tabular Specification for a component, please open the context menu of the corresponding component and select "Advanced Tabular Specification". Then an advanced tabular specification without sub table has been created. Open the context menu of the new created tabular specification, select the table pattern for the further contained table.





Creating an State Transition Table

To create a State Transition Table for a Advanced Tabular Specification, please open the context menu of the corresponding Advanced Tabular Specification and select "State Transition Table". Then a default State Transition Table will be added into this tabular specification. This default state transition table takes existing input ports, output ports and data state variable as the source of inputs, outputs, prevariables, and post variables columns, which means the new created state transition table has columns with same name and data type as its ports and date state variables.

Taking Component "Behavior" which has one input port and three output ports as an example, the new created state transition table for Component "Behavior" will be as follows:






Creating a Mode Transition Table

Similar with the Creating a State Transition Table, we open the context menu of the corresponding Advanced Tabular Specification and select "Mode Transition Table". For each Table Mode, the Mode Transition Table have a Component Structure, which is similar with Mode Component Structure