After making a mistake during a failed assassination attempt on the President, Agent Daggett is reassigned to protect the First Lady. Agent Daggett encounters problems with the First Lady who treats him like a servant instead of her bodyguard. He also has problems with an egotistical fellow agent, Edward Pillows, the First Lady's secretary Ginger Chin, and the First Couple's beautiful young daughter Camilla.

Type: Scripted

Languages: English

Status: Ended

Runtime: 30 minutes

Premier: 2000-11-14

## DAG - Directed acyclic graph - Netflix

In mathematics and computer science, a directed acyclic graph (DAG ( listen)), is a finite directed graph with no directed cycles. That is, it consists of finitely many vertices and edges, with each edge directed from one vertex to another, such that there is no way to start at any vertex v and follow a consistently-directed sequence of edges that eventually loops back to v again. Equivalently, a DAG is a directed graph that has a topological ordering, a sequence of the vertices such that every edge is directed from earlier to later in the sequence. DAGs can model many different kinds of information. A spreadsheet can be modeled as a DAG, with a vertex for each cell and an edge whenever the formula in one cell uses the value from another; a topological ordering of this DAG can be used to update all cell values when the spreadsheet is changed. Similarly, topological orderings of DAGs can be used to order the compilation operations in a makefile. The program evaluation and review technique uses DAGs to model the milestones and activities of large human projects, and schedule these projects to use as little total time as possible. Combinational logic blocks in electronic circuit design, and the operations in dataflow programming languages, involve acyclic networks of processing elements. DAGs can also represent collections of events and their influence on each other, either in a probabilistic structure such as a Bayesian network or as a record of historical data such as family trees or the version histories of distributed revision control systems. DAGs can also be used as a compact representation of sequence data, such as the directed acyclic word graph representation of a collection of strings, or the binary decision diagram representation of sequences of binary choices. More abstractly, the reachability relation in a DAG forms a partial order, and any finite partial order may be represented by a DAG using reachability. Important polynomial time computational problems on DAGs include topological sorting (finding a topological ordering), construction of the transitive closure and transitive reduction (the largest and smallest DAGs with the same reachability relation, respectively), and the closure problem, in which the goal is to find a minimum-weight subset of vertices with no edges connecting them to the rest of the graph. Transforming a directed graph with cycles into a DAG by deleting as few vertices or edges as possible (the feedback vertex set and feedback edge set problem, respectively) is NP-hard, but any directed graph can be made into a DAG (its condensation) by contracting each strongly connected component into a single supervertex. The problems of finding shortest paths and longest paths can be solved on DAGs in linear time, in contrast to arbitrary graphs for which shortest path algorithms are slower and longest path problems are NP-hard. The corresponding concept for undirected graphs is a forest, an undirected graph without cycles. Choosing an orientation for a forest produces a special kind of directed acyclic graph called a polytree. However, there are many other kinds of directed acyclic graph that are not formed by orienting the edges of an undirected acyclic graph. Moreover, every undirected graph has an acyclic orientation, an assignment of a direction for its edges that makes it into a directed acyclic graph. To emphasize that DAGs are not the same thing as directed versions of undirected acyclic graphs, some authors call them acyclic directed graphs or acyclic digraphs.

## DAG - Computational problems - Netflix

## DAG - References - Netflix

- http://mathworld.wolfram.com/AcyclicDigraph.html
- https://books.google.com/books?id=4UY-ucucWucC&pg=PA36
- http://doi.org/10.1287%2Fmnsc.22.11.1268
- http://doi.org/10.1145%2F37888.37941
- http://arxiv.org/abs/1310.8224
- http://www.ams.org/mathscinet-getitem?mr=0403596
- https://books.google.com/books?id=iuEoAwAAQBAJ&pg=PA142
- https://www.netflixtvshows.com
- https://books.google.com/books?id=cntcAgAAQBAJ&pg=PA1181
- http://doi.org/10.1186%2F1748-7188-6-10
- https://books.google.com/books?id=C3yKML0dUVIC&pg=PA160
- https://books.google.com/books?id=idUdqdDXqnAC&pg=PA598
- https://books.google.com/books?id=vXdEAAAAQBAJ&pg=PA59
- http://doi.org/10.1093%2Fbiomet%2F82.4.669
- https://books.google.com/books?id=wObgnN3x14kC&pg=PA255
- http://doi.org/10.1109%2FASWEC.2014.15
- https://books.google.com/books?id=_2oQLLSqZ88C&pg=PA215
- https://books.google.com/books?id=nO2-AwAAQBAJ&pg=PA123