Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 4. [18 points] You are a lonely logician in desperate need of a friend. However, knowing that it would be impossible to make one,

Problem 4. [18 points] You are a lonely logician in desperate need of a friend. However, knowing that it would be impossible to make one, you decide to focus your time on something much more achievable: creating a general AI (artificial intelligence) who will then be your friend!

Amazingly, you succeed! You make yourself a friend whom you name Alan. Now all you need to do is teach Alan what friendship is. You decide to model friendship as a relation on a set of people. Rather than explicitly define the relation, you decide to explain some rules that any relation modelling friendship must follow. These are your three laws of robotic friendships:

Not everyone is friends with everyone (as you harshly know from your lack of human friends).

The enemy of my enemy is my friend (this is a good saying youve heard before! For simplicity, you tell Alan enemy just means not friend).

The enemy of my friend is my enemy.

With these three laws defining friendship, what will Alan learn?

a) [6 points] Draw the directed graph of a relation on a set of 3 people which satisfies the three properties above (i.e. a dot for each person and an arrow from person a to person b if friend(a, b)). Explain how you arrived at your relation.

b) [12 points] Does Alan think friendship is an equivalence relation? Explain why or why not. If it is, how many equivalence classes does it define on a set of 100 people? Explain in English how you arrived at your answer.

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

Databases And Information Systems 1 International Baltic Conference Dbandis 2020 Tallinn Estonia June 19 2020 Proceedings

Authors: Tarmo Robal ,Hele-Mai Haav ,Jaan Penjam ,Raimundas Matulevicius

1st Edition

303057671X, 978-3030576714

More Books

Students also viewed these Databases questions