Overview of Algorithm Design
Overview of Algorithm Design
Overview of Algorithm Design
Algorithm Design
Partha P Chakrabarti
Department of CSE, IIT Kharagpur
T10KT Main Workshop
May 25, 2015
Algorithm Features
Termination, Functional Correctness, Efficiency,
User Interface / Interaction, Implementation,
Error Handling, Documentation
Problem Specification
Unambiguously specify the INPUTS, OUTPUTS,
CONDITIONS / CONSTRAINTS.
Make use of logical operations and
mathematical symbols to the extent possible.
Additionally give examples to explain the
specification given where special cases are
properly highlighted)
Modelling Problem
Specification
Modelling, Input, Output, Constraints to
structures
Use of Real-Life like Examples
Finding a route in a map
Crypt-arithmetic Problem
Telephone Line Connection Problem
Time Table Scheduling
Stamp Selection Problem
Pumping Water in a City
Travelling Salesperson
Robbers Dilemma
Mapping to Models
Combinatorial, Matrices, Graphs, Logic, Constraint
Satisfaction / Optimization Framework, ILP
Initial Solution
Solution Space Creation
Solution Space Explorations
Analysis of Complexity
Finalization of Options
Data Structuring
Demonstration by
Examples
Finding the largest
of n integers
Approximation
Randomization
Thank You