How to Design an Algorithm

Designing an algorithm is a profoundly creative human endeavor. Indeed, to design an algorithm one has to conceive a solution by drawing on a deep understanding of the problem at hand, on one’s knowledge of techniques adopted for the construction of other

  • PDF / 5,136,814 Bytes
  • 262 Pages / 439.43 x 683.15 pts Page_size
  • 0 Downloads / 215 Views

DOWNLOAD

REPORT


The Power of Algorithms Inspiration and Examples in Everyday Life

The Power of Algorithms

Giorgio Ausiello • Rossella Petreschi Editors

The Power of Algorithms Inspiration and Examples in Everyday Life

123

Editors Giorgio Ausiello Dip. di Informatica e Sistemistica Università di Roma “La Sapienza” Rome, Italy

Rossella Petreschi Dipartimento di Informatica Università di Roma “La Sapienza” Rome, Italy

First published in Italian in 2010 by Mondadori Education S.p.A., Milano as “L’informatica invisibile: Come gli algoritmi regolano la nostra vita : : : e tutto il resto”

ISBN 978-3-642-39651-9 ISBN 978-3-642-39652-6 (eBook) DOI 10.1007/978-3-642-39652-6 Springer Heidelberg New York Dordrecht London Library of Congress Control Number: 2013952981 © Springer-Verlag Berlin Heidelberg 2013 This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed. Exempted from this legal reservation are brief excerpts in connection with reviews or scholarly analysis or material supplied specifically for the purpose of being entered and executed on a computer system, for exclusive use by the purchaser of the work. Duplication of this publication or parts thereof is permitted only under the provisions of the Copyright Law of the Publisher’s location, in its current version, and permission for use must always be obtained from Springer. Permissions for use may be obtained through RightsLink at the Copyright Clearance Center. Violations are liable to prosecution under the respective Copyright Law. The use of general descriptive names, registered names, trademarks, service marks, etc. in this publication does not imply, even in the absence of a specific statement, that such names are exempt from the relevant protective laws and regulations and therefore free for general use. While the advice and information in this book are believed to be true and accurate at the date of publication, neither the authors nor the editors nor the publisher can accept any legal responsibility for any errors or omissions that may be made. The publisher makes no warranty, express or implied, with respect to the material contained herein. Printed on acid-free paper Springer is part of Springer Science+Business Media (www.springer.com)

Preface

The meaning of the word algorithm as found in any English dictionary is rather similar to the meaning of words such as method or procedure, that is, “a finite set of rules specifying a sequence of operations to solve a particular problem”. Simple algorithms we are all familiar with are those used to perform the four arithmetical operations, or the binary search which, more or less unconsciously, we use to find a name in a