Question: Everything is provided in the link given CISP 440 Homework 6 Fall 2018 Matrix Implementation of Propertles of Relations Implement a C program to determine

Everything is provided in the link given  Everything is provided in the link given CISP 440 Homework 6
Fall 2018 Matrix Implementation of Propertles of Relations Implement a C program
to determine the properties of a relation. Requirements: 1) Determine if a

CISP 440 Homework 6 Fall 2018 Matrix Implementation of Propertles of Relations Implement a C program to determine the properties of a relation. Requirements: 1) Determine if a relation is Reflexive 2) Determine if a relation is Symmetric 3) Determine if a relation is Transitive 4) For each relation, print out all the members of the equivalence classes (if any) 5) Analyze all the relations in the posted input files Run your program with ALL of the posted input data files to demonstrate that it works properly. These input files are binary files with the following format: the first byte is the size of the relation, followed by a byte for each element of the matrix, filling rows from left to right. For example, the following byte sequence: represents the following matrix: 1, 1, 0, 1 Extra Credit Worth 2T Homework Points: Write a program to generate random equivalence relations of arbitrary size and write them to a file. DUE SAME TIME AS THIS ASSIGNMENT Resources: See the posted files "relations.cpp" and "R1.bin" thru "R7.bin" Turn In: Paper printouts of: 1) Source Code. 2) Output for ALL of the input relations. Sample Output 1101 1101 0010 Reflexive symmetric The Peoduct 3303

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!