Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

From the lecture on HoMonit, assume that a SmartApp subscribes to two capabilities: an attribute motion for capability Motion Sensor and a command on (

From the lecture on HoMonit, assume that a SmartApp subscribes to two capabilities:
an attribute motion for capability Motion Sensor and a command on() for capability
Switch. The working logic of a SmartApp is presented as the following DFA:
motion.active corresponds to packet sequence (54uarr ) and switch.on corresponds to
packet sequence (50darr,47darr,47darr,52darr ). If the events corresponding to motion. active and
switch.on are detected in a sequence, the DFA will transition from the start state to the
accept state, otherwise to the deny state.
For the following packet sequence, write the output of HoMonit (as accept or deny) with the
state transitions on the DFA.
(i)54uarr,50darr,47darr,47darr,52darr,54uarr,50darr,47darr,47darr,52darr
(ii)54uarr,54darr,50darr,47darr,47darr,52darr,50darr,47darr,47darr,52darr
(iil)50darr,47darr,47darr,52darr,54uarr,50darr,47darr,47darr,52darr
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions