D1 Flashcards
How do you find the lower bounds of a bin-pack?
Total of all number divided by bin size
- must round up
What are the advantages of First- fit bin packing?
quick to do
What are the disadvantages of First-fit bin packing?
not likely to lead to a good solution
What are the advantages of First-fit decreasing bin packing?
- Usually a good solution
- Easy to do
What are the disadvantages of First-fit decreasing bin packing?
- May not get get an optimal solution
What are the advantages of Full bin packing?
Usually a good solution
What are the disadvantages of Full bin packing?
Difficult to do, especially when lots of numbers or awkward numbers are involved
What is the Hand-shaking lemma?
sum of all degrees = 2 x number of edges
How is Graph defined?
A graph consists of vertices [nodes] which are connected by edges [arcs].
How is Sub Graph defined?
A sub graph is a part of a graph.
How is Weighted Graph defined?
A graph in which there is a number associated with each edge [its weight].
How Degree of Valency/Order defined?
The number of edges incident to a vertex.
How is Path defined?
A finite sequence of edges, such that the end vertex of one edge in the sequence is the start vertex of the next, and in which no vertex appears more than once.
How is Walk defined?
A path in which you are permitted to return to vertices more than once.
How is Cycle/Circuit defined?
A closed ‘path’ i.e. the end vertex of the last edge is the start vertex of the first edge.
How is Connected defined?
Two vertices are ‘connected’ if there is a path between them. A graph is connected if all its vertices are connected.
How is Loop defined?
An edge that starts and finishes at the same vertex.
How is Simple Graph defined?
A graph in which there are no loops and not more than one edge connecting any pair of vertices.