Implementation of Behavior

Now let's discuss how a Human Body delivers a behavior called "Walking"?
  • Human Body exposes a behavior called Walking(X, Y) which takes two parameters. (X, Y) are the coordinates till which the body is supposed to walk.
  • Whenever the actor invokes this behavior called as "Walking" () passing in the inputs that are needed; the signals are first intercepted by the "Hearing system" within which the "Diaphragm" and the "Wavelength to neural Convertor" converts the Sound signals to Neural signals.
  • These neural signals from the hearing system are then sent to the brain which is a highly complex system
  • The Brain does its internal processing and then sends signals to various sensory subsystems like Hearing, Vision based system etc. These subsystems are complex systems and have multiple components interacting within them.
  • These Sensory Sub-systems find out the environment in which this behavior needs to be executed and then each of them send signals back to the Brain.
  • The Brain then evaluates these signals, processes them and sends the signals back to the sensory systems.
  • The brain also sends these signals to the Upper body, Spinal cord, right hand, left hand, lower body, right leg and the left leg.
  • A coordinated interaction of all the above components nested at different levels of granularity result in a behavior called "Walking".
 
What is the technical cause behind implementation of Behavior within a system?

Behaviors within a system are a result of different types of interaction between different components that are modeling the structural details of the system.

Behaviors are always implemented using "Component" interaction.

Why does a system offer different behaviors?
 
The technical cause of behavior within a system is the interaction between components that are modeling the structural details of the system. And when different components interact with each other, the system gives different behaviors.

Even if the components interacting with each other are the same, the pattern or the sequence in which they interact can cause different behaviors to be delivered by the system.

What is the technical difference between "Walking" and "Running"?

Let me tell you that the components involved in "Walking" and "Running" is exactly the same.

The pattern or the sequence in which they interact with each other is also the same.

Now the question is; if the components involved and the pattern/ sequence in which they interact are also the same, then how are there two different behaviors?

It's Frequency. Although the components and the sequence of interaction are the same, it is because of the frequency or the rate at which these structural components interact with each other at different levels of granularity.

Different behaviors within the system also occur because of different rates at which the structural components interact with each other.

Let me give you an example.

You and I are friends and we interact with each other.

Case 1- You and I interact with each other once in a year.

Case 2- You and I interact with each other once in a year.

Case 3- You and I interact with each other once in a year.

Case 4- You and I interact with each other once in a year.

In all the 4 cases, "You" and "I' are interacting. But the behavior is different because the frequency is different.

Context with respect to Behavior

A context helps you choose a set of behaviors which are of your interest or of your customers' interest given the 'n' number of behaviors that can be delivered by the system.

Is it possible to capture all the behaviors offered by a system?

Let me give you an example.

All of us have a family. Can we say that our Family is also a system?

What do you think?

Yes. Our Family is also a system as it offers certain behaviors. All the family members are the structural components that interact with each other to give different behaviors.

Each one of us has been with our families for the past so many years. We know our families well.

And since we all know our families well, can you describe all the behaviors of your family?

It is technically impractical or impossible to find or describe all the behaviors of a system.

Should we capture or understand all the behaviors offered by a System?

A system can give N numbers of behaviors, but we should not be concerned with all of them. We should only capture hose behaviors which are relevant to the context of the system.

Gathering requirements for any technical system

  • Find the context or the set of contexts from which the system needs to be studied.
  • Next find out all the behaviors offered by the system in that context.
  • For every behavior offered by the system in that context find out the exact components and their inter-connectors needed to deliver the behavior.

 
Hemant Jha
Founder - VPlanSolutions
Researcher, Trainer

www.VPlanSolutions.co.in