CISC 102 Lecture 5: Indexed Sets

58 views2 pages
bronzeskunk641 and 150 others unlocked
CISC 102 Full Course Notes
34
CISC 102 Full Course Notes
Verified Note
34 documents

Document Summary

A partition of s consists of disjoint non-empty subsets of s whose union is s. Let s be the set {1, 2, 3, 4, 5, 6}: E o = and e o = s, so the set (of sets) {e,o} is a partition of s. Another partition of s could be ({1, 2}, {3, 4, 5}, {6}) Splitting a set into a partition can sometimes be useful for solving algorithmic problems. You can then solve each set of the partition in cases. A collection, or class of sets can be defined using an index as follows: Let (cid:3036) denote the set {x : x z , x i}, for all i n. A1 = { 1, 2, 3, }, a2 = { 2, 3, 4, }, a3 = { 3, 4, 5, } Shorthand can be used to denote multiple unions and intersection operations.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents

Related Questions