Toggle navigation
MYNDBOOK
Popular
My Library
Signup for free!
Login
Stanford CS 103
Lecture 6
Graphs
Cartesian Product
AXB = { (a, b) | a E A and b E B }
Ordered and unordered pairs
{0, 1, 2 } unordered
(1, 2, 3) ordered
Definition
Mathematical structure for representing relationships (AKA nodes and edges)
Is a topological Sort
Ordering where no node is listed before its predecessors.
Equivalence Relations
Binary relation is called equivalent relation iff:
Symmetry
For any x E A and y E A, if xRy, then yRx.
Syntax
Transitivity
For any x, y, z in A, if xRy and yRz, then xRz.
Reflexive
For any x E A, xRx.
Binary relations
Binary relations is a property of two objects are related in a similar way
aRb iff a is related to b byh the relation R.
Formally, a relation is a set of ordered pairs representing the pairs for which the relation is true. So, aRb = (a, b) E R.
Order relation
Relates orders of two elements.
Antisymmetric
Description
Login
to remove ads
X
Feedback
|
How-To