1.1: Sequential Models

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall with Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/13

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No study sessions yet.

14 Terms

1
New cards

Syntax

Programming constructs, what we write

2
New cards

Semantics

State machines, the behaviour we produce

3
New cards

Synchronous Reactive Components Properties

  • Inputs

  • Internal State

  • Outputs

<ul><li><p>Inputs</p></li><li><p>Internal State </p></li><li><p>Outputs</p></li></ul>
4
New cards

Reactive Component Syntax

  • Finite set of input variables defining a set of inputs

  • Finite set of output variables defining a set of outputs

  • Set of state variables defining a set of states

  • Initialisation defining the set of initial states

  • Reaction defining a set of reactions from s → t (i/o), where s and t are states, i is an input and o is an output.

5
New cards

Reactive Component Semantics

  • A set of inputs (Qi = {0, 1} or Qi ={(0, 0), (0, 1), (1, 0), (1, 1)})

  • A set of outputs (QO= {0, 1})

  • A set of states (Qs = {0, 1})

<ul><li><p>A set of inputs (Q<sub>i</sub> = {0, 1} or Q<sub>i</sub> ={(0, 0), (0, 1), (1, 0), (1, 1)})</p></li><li><p>A set of outputs (Q<sub>O</sub>= {0, 1})</p></li><li><p>A set of states (Qs = {0, 1})</p></li></ul>
6
New cards

Reactions Properties

  • Assignments (x := e)

  • Sequential statements

  • Conditional statements

  • Local variables

7
New cards

Input-Enabled Component

A component where every input is enabled in every state.

  • An input i is said to be enabled in a state s if there exists and output and state t such that s → t (i/o).

8
New cards

Deadlock

When a program crashes/returns an undefined error.

<p>When a program crashes/returns an undefined error.</p>
9
New cards

Finite-State Component

A synchronous reactive component where the type of each of its input, output and state variables are finite.

10
New cards

Deterministic Component

A synchronous reactive component where:

  • C has a single initial state

  • For each state and every input, there is precisely one output and state such that s → t (i/o) is a reaction of C.

<p>A synchronous reactive component where:</p><ul><li><p>C has a single initial state</p></li><li><p>For each state and every input, there is precisely one output and state such that s → t (i/o) is a reaction of C.</p></li></ul>
11
New cards

Non-Deterministic Compontents

Responds with different output sequences for the same input sequence.

<p>Responds with different output sequences for the same input sequence.</p>
12
New cards

Combinational Component

A synchronous reactive component where the set of its state variables is empty.

13
New cards

Atomic Propositions

Statements on a variable - often used to label states.

14
New cards

Kripke Model

  • Set of states

  • Set of initial states

  • Transition relation R is a subset of Qs x Qs.

  • No inputs and outputs

  • Set of atomic propositions AP over variables S.

<ul><li><p>Set of states</p></li><li><p>Set of initial states</p></li><li><p>Transition relation R is a subset of Qs x Qs.</p></li><li><p>No inputs and outputs</p></li><li><p>Set of atomic propositions AP over variables S.</p></li></ul>

Explore top flashcards

E1 Ortho- Cervical
Updated 344d ago
flashcards Flashcards (102)
Government - Unit 4
Updated 794d ago
flashcards Flashcards (69)
Level G Unit 11
Updated 1167d ago
flashcards Flashcards (20)
عكس - G3
Updated 873d ago
flashcards Flashcards (24)
chesmisty
Updated 949d ago
flashcards Flashcards (28)
grammar - phrases
Updated 58d ago
flashcards Flashcards (41)
graphic design :(
Updated 1138d ago
flashcards Flashcards (127)
E1 Ortho- Cervical
Updated 344d ago
flashcards Flashcards (102)
Government - Unit 4
Updated 794d ago
flashcards Flashcards (69)
Level G Unit 11
Updated 1167d ago
flashcards Flashcards (20)
عكس - G3
Updated 873d ago
flashcards Flashcards (24)
chesmisty
Updated 949d ago
flashcards Flashcards (28)
grammar - phrases
Updated 58d ago
flashcards Flashcards (41)
graphic design :(
Updated 1138d ago
flashcards Flashcards (127)