Charging Argument

Charging Argument

In computer science, a Charging Argument is used to compare an algorithm output to an optimal solution.

Example

Proving optimality for earliest finishing time greedy algorithm:

The charging argument wants to charge each interval of an optimal to a unique interval in the greedy solution. Let OPT be any optimal solution and S the solution of the EFT greedy algorithm. We want to define a one to one function h : OPT→ S. Define h: Let h(J) be that interval J′ in S that intersects J and has the earliest finishing time amongst intervals in S intersecting J. First we claim that h is a function. Second we claim h is one to one. Suppose both J1 and J2 in OPT are mapped to the same J′ in S and without loss of generality assume that f1 < f2 where f1 (resp f2) is the finishing time of J(1) (resp. J(2)). Let f′ be the finishing time of J′. By the definition of the mapping h, f′ <= f1 or else the greedy EFT algorithm would have taken J1 (and not J′). So we have f′ <= f1 < f2 and since J1 and J2 cannot intersect, J2 cannot intersect J′.

Sources

Allan Borodin [PDF document]. Retrieved from Lecture Notes Online Web site: http://www.cs.toronto.edu/~bor/373s11/L2.pdf



Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • David Shmoys — Fields Computer Science, Computational complexity theory Institutions Cornell …   Wikipedia

  • education — /ej oo kay sheuhn/, n. 1. the act or process of imparting or acquiring general knowledge, developing the powers of reasoning and judgment, and generally of preparing oneself or others intellectually for mature life. 2. the act or process of… …   Universalium

  • Usury — (] In the 13th century Cardinal Hostiensis enumerated thirteen situations in which charging interest was not immoral. [cite journal | last = Roover | first = Raymond | title = The Scholastics, Usury, and Foreign Exchang | journal = Business… …   Wikipedia

  • Road pricing — is an economic concept regarding the various direct charges applied for the use of roads. The road charges includes fuel taxes, licence fees, parking taxes, tolls, and congestion charges, including those which may vary by time of day, by the… …   Wikipedia

  • Ethics of file sharing — is a subfield of ethics specifically relating to the ethical implications of file sharing over computer networks and the Internet. File sharing occurs when people who are connected to the Internet use file sharing programs to copy files between… …   Wikipedia

  • Christian views on poverty and wealth — Jesus casting out the money changers from the Temple by Giotto, 14th century Since the inception of Christianity, there have been a variety of Christian attitudes towards materialism and wealth. John Cobb, Jr. argues that the economism that rules …   Wikipedia

  • religion — religionless, adj. /ri lij euhn/, n. 1. a set of beliefs concerning the cause, nature, and purpose of the universe, esp. when considered as the creation of a superhuman agency or agencies, usually involving devotional and ritual observances, and… …   Universalium

  • ZIONISM — This article is arranged according to the following outline: the word and its meaning forerunners ḤIBBAT ZION ROOTS OF ḤIBBAT ZION background to the emergence of the movement the beginnings of the movement PINSKER S AUTOEMANCIPATION settlement… …   Encyclopedia of Judaism

  • José Padilla (prisoner) — For other uses, see José Padilla. José Padilla Born October 18, 1970 (1970 10 18) (age 41) Brooklyn, New York, U.S. Alias(es) Abdullah al Muhajir or Muhajir Abdu …   Wikipedia

  • India — /in dee euh/, n. 1. Hindi, Bharat. a republic in S Asia: a union comprising 25 states and 7 union territories; formerly a British colony; gained independence Aug. 15, 1947; became a republic within the Commonwealth of Nations Jan. 26, 1950.… …   Universalium

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”