Skip to main content Accessibility help
×
Hostname: page-component-78c5997874-xbtfd Total loading time: 0 Render date: 2024-11-14T17:14:57.564Z Has data issue: false hasContentIssue false

4 - Algebraic operations on relations

from PART II - OPERATIONS AND CONSTRUCTIONS

Published online by Cambridge University Press:  05 May 2013

Gunther Schmidt
Affiliation:
Universität der Bundeswehr München
Get access

Summary

A full account of relation algebra cannot be given here, just enough to enable us to work with it. This will be accompanied by examples showing the effects. When relations are studied in practice, they are conceived as subsets R ⊆ X × Y of the Cartesian product of the two sets X, Y between which they are defined to hold. Already in Chapter 3, we have given enough examples of relations between sets together with a diversity of ways to represent them. We will now present the operations on relations in a way that is both algebraically sound and suficiently underpinned with examples.

With this algebraic approach we start in full contrast to such texts as, for example, [125], where relations are also presented in extensu. There, however, everything is based on point-wise reasoning.

Typing relations

In many cases, we are interested in solving just one problem. More often, however, we want to find out how a whole class of problems may be solved. While in the first case, we may use the given objects directly, we must work with constants and variables for relations in the latter case. These variables will be instantiated when the concrete problem is presented.

Let us consider timetabling as an example. It may be the case that a timetable has to be constructed at a given school. However, it would not be wise to write a timetabling program just for this school with the present set of teachers and classrooms. If it is intended to sell the program several times so that it may be applied also to other schools, one must allow for the possibility of different sets of teachers, different sets of classrooms, etc.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2010

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×