11

I am wondering what should an algorithm documentation contain? Can't locate a proper guideline to follow. I have in mind to include

  • summary of the algorithm
  • description of the algorithm
  • flowcharts
  • pseudo codes
  • sample input data set(multiple)
  • output data
  • unit tests
  • experiments

The client requests such a documentation to: Maintain confidence in our own numbers as well as to describe our process to potential customers so they know we are taking steps to check and verify our calculations.

  • How would look like such a documentation? (example PDF)
  • What would you include more in this documentation?
  • What I enumerated is that good, or this should be somehow documented differently?
  • How would you search in Google for such documentation samples?
asked Jul 18, 2011 at 7:40
0

1 Answer 1

4

Some more points:

  1. Performance analysis/benchmark with sample inputs and environments.
  2. Alternates to the algorithm(if exists), really helps for new people, and for comparison analysis.
  3. Examples of best and worst case scenarios/inputs.

How would look like such a documentation?
Cusotmers/Users(/Managers?) don't like PDF, they find PPTs very interesting though, at the same time business will insist on PDF. So you should have a two-level document, one in PPT just to "explain in 20 mins" and other in PDF that covers the gory details of the game.

answered Jul 18, 2011 at 7:45
2
  • Also if the alternate Algos are available you must compare the efficiency of both Algos. Commented Jul 18, 2011 at 7:48
  • Any samples you can show? Commented Jul 18, 2011 at 8:07

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.