A general definition of the big-oh notation for algorithm analysis

نویسندگان

  • Kalle Rutanen
  • Germán Gómez-Herrero
  • Sirkka-Liisa Eriksson
  • Karen O. Egiazarian
چکیده

Algorithm analysis O-notation Prevailing definition Implied properties Correctness analysis Complexity analysis Algorithm analysis 2 / 101 Algorithm analysis O-notation Prevailing definition Implied properties Correctness analysis Complexity analysis Algorithm analysis Algorithm An algorithm is a finite sequence of instructions for transforming data to another form, a process which can be followed with pen and paper. 3 / 101 Algorithm analysis O-notation Prevailing definition Implied properties Correctness analysis Complexity analysis Algorithm analysis Algorithm An algorithm is a finite sequence of instructions for transforming data to another form, a process which can be followed with pen and paper. Example An algorithm could provide a way to sort a sequence of integers in increasing order. Algorithm analysis O-notation Prevailing definition Implied properties Correctness analysis Complexity analysis Algorithm analysis Algorithm An algorithm is a finite sequence of instructions for transforming data to another form, a process which can be followed with pen and paper. Example An algorithm could provide a way to sort a sequence of integers in increasing order. Algorithm analysis Algorithm analysis studies the correctness and complexity of a given algorithm. Algorithm analysis O-notation Prevailing definition Implied properties Correctness analysis Complexity analysis Correctness analysis 6 / 101 Algorithm analysis O-notation Prevailing definition Implied properties Correctness analysis Complexity analysis Correctness analysis Correctness analysis Does the algorithm do what it is claimed to do? 7 / 101 Algorithm analysis O-notation Prevailing definition Implied properties Correctness analysis Complexity analysis Correctness analysis Correctness analysis Does the algorithm do what it is claimed to do? Example of correctness Prove that a given algorithm sorts any sequence of integers in increasing order, and does so in finite time for a finite sequence. 8 / 101 Algorithm analysis O-notation Prevailing definition Implied properties Correctness analysis Complexity analysis Complexity analysis 9 / 101 Algorithm analysis O-notation Prevailing definition Implied properties Correctness analysis Complexity analysis Complexity analysis Complexity analysis How much time / memory does it take to follow the algorithm on a given input in the worst case / best case / average case (etc.)? 10 / 101 Algorithm analysis O-notation Prevailing definition Implied properties Correctness analysis Complexity analysis Complexity analysis Complexity analysis How much time / memory does it take to follow the algorithm on a given input in the worst case / best case / average case (etc.)? Example of complexity Prove that a given algorithm never uses more than n(n − 1)/2 number of order-comparisons to sort any …

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Another Asymptotic Notation : "Almost"

Asymptotic notations are heavily used while analysing runtimes of algorithms. Present paper argues that some of these usages are non trivial, therefore incurring errors in communication of ideas. After careful reconsideration of the various existing notations a new notation is proposed. This notation has similarities with the other heavily used notations like Big-Oh, Big Theta, while being more...

متن کامل

On Asymptotic Notation with Multiple Variables

We show that it is impossible to define big-O notation for functions on more than one variable in a way that implies the properties commonly used in algorithm analysis. We also demonstrate that common definitions do not imply these properties even if the functions within the big-O notation are restricted to being strictly nondecreasing. We then propose an alternative definition that does imply ...

متن کامل

A General Definition of the O-notation for Algorithm Analysis

We provide an extensive list of desirable properties for an O-notation — as used in algorithm analysis — and reduce them to 8 primitive properties. We prove that the primitive properties are equivalent to the definition of the O-notation as linear dominance. We abstract the existing definitions of the O-notation under local linear dominance, and show that it has a characterization by limits ove...

متن کامل

CONSTRAINED BIG BANG-BIG CRUNCH ALGORITHM FOR OPTIMAL SOLUTION OF LARGE SCALE RESERVOIR OPERATION PROBLEM

A constrained version of the Big Bang-Big Crunch algorithm for the efficient solution of the optimal reservoir operation problems is proposed in this paper. Big Bang-Big Crunch (BB-BC) algorithm is a new meta-heuristic population-based algorithm that relies on one of the theories of the evolution of universe namely, the Big Bang and Big Crunch theory. An improved formulation of the algorithm na...

متن کامل

An algorithm for the anchor points of the PPS of the CCR model

Anchor DMUs are a new class in the general classification of Decision Making Units (DMUs) in Data Envelopment Analysis (DEA). An anchor DMU in DEA is an extreme-efficient DMU that defines the transition from the efficient frontier to the free-disposability part of the boundary of the Production Possibility Set (PPS). In this paper, the anchor points of the PPS of the CCR model are investigated....

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • CoRR

دوره abs/1309.3210  شماره 

صفحات  -

تاریخ انتشار 2013