EXAMPLE 2.5 In Section 2.1.1, we noted that there can be many relations on a given set, and we mentioned several for the attribute height. The representa- tion condition has implications for each of these relations. Consider these examples: For the (binary) empirical relation taller than, we can have the numerical relation x> y Then, the representation condition requires that for A taller than B if and only if M(A) > M(B) For the (unary) empirical relation is-tall, we might have the numerical relation 36 Software Metrics any measure M, X>70 The representation condition requires that for any measure M, A is-tall if and only if M(A) > 70 For the (binary) empirical relation much taller than, we might have the numerical relation x>y+15 The representation condition requires that for any measure M, A much taller than B if and only if M(A) > M(B) + 15 For the (ternary) empirical relation x higher than y if sitting on z's shoulders, we could have the numerical relation 0.7x + 0.8z>y The representation condition requires that for any measure M,
EXAMPLE 2.5 In Section 2.1.1, we noted that there can be many relations on a given set, and we mentioned several for the attribute height. The representa- tion condition has implications for each of these relations. Consider these examples: For the (binary) empirical relation taller than, we can have the numerical relation x> y Then, the representation condition requires that for A taller than B if and only if M(A) > M(B) For the (unary) empirical relation is-tall, we might have the numerical relation 36 Software Metrics any measure M, X>70 The representation condition requires that for any measure M, A is-tall if and only if M(A) > 70 For the (binary) empirical relation much taller than, we might have the numerical relation x>y+15 The representation condition requires that for any measure M, A much taller than B if and only if M(A) > M(B) + 15 For the (ternary) empirical relation x higher than y if sitting on z's shoulders, we could have the numerical relation 0.7x + 0.8z>y The representation condition requires that for any measure M,
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
100%
For the empirical and numerical relation system of Example 2.5, write a numerical assignment satisfy the representation condition
example 2.5 in text2_Fenton, Norman - Software Metrics_ A Rigorous and Practical Approach, Third Edition (2014, CRC Press).pdf

Transcribed Image Text:The representation condition requires that for any measure M,
A higher than B if sitting on C's shoulders if and only if
0.7M(A) +0.8M(C) > M(B)
Consider the actual assignment of numbers M given in Figure 2.5.
Wonderman is mapped to the real number 72 (i.e., M(Wonderman) = 72),
Frankie to 84 (M(Frankie) = 84), and Peter to 42 (M(Peter) = 42). With this
particular mapping M, the four numerical relations hold whenever the four
empirical relations hold. For example,
• Frankie is taller than Wonderman, and M(Frankie) > M(Wonderman).
• Wonderman is tall, and M(Wonderman) = 72 > 70.
●
Frankie is much taller than Peter, and M(Frankie) = 84 > 57 = M(Peter) +
15. Similarly Wonderman is much taller than Peter and M(Wonderman)
72 > 57 = M(Peter) + 15.
Peter is higher than Frankie when sitting on Wonderman's shoulders,
and 0.7M(Peter) + 0.8M(Wonderman) = 87 > 84 = M(Frankie)
Since all the relations are preserved in this way by the mapping, we can
define the mapping as a measure for the attribute. Thus, if we think of the
M
FIGURE 2.5 A measurement mapping.
=
84
72
42
The Basics of Measurement ■ 37
measure as a measure of height, we can say that Frankie's height is 84, Peter's
is 42, and Wonderman's is 72.
M(Wonderman) = 72
M(Frankie) = 84
Not every assignment satisfies the representation condition. For instance,
we could define the mapping in the following way:
M(Peter) = 60

Transcribed Image Text:EXAMPLE 2.5
In Section 2.1.1, we noted that there can be many relations on a given
set, and we mentioned several for the attribute height. The representa-
tion condition has implications for each of these relations. Consider these
examples:
For the (binary) empirical relation taller than, we can have the numerical
relation
x> y
Then, the representation condition requires that for any measure M,
A taller than B if and only if M(A) > M(B)
For the (unary) empirical relation is-tall, we might have the numerical
relation
36 Software Metrics
x > 70
The representation condition requires that for any measure M,
A is-tall if and only if M(A) > 70
For the (binary) empirical relation much taller than, we might have the
numerical relation
x>y+15
The representation condition requires that for any measure M,
A much taller than B if and only if M(A) > M(B) + 15
For the (ternary) empirical relation x higher than y if sitting on z's shoulders,
we could have the numerical relation
0.7x + 0.8z>y
The representation condition requires that for any measure M,
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 15 images

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education