How to create an algorithm: Difference between revisions

Jump to navigation Jump to search
(Created page with "==Overview== An algorithm is a schematic drawing that helps organizing step by step approaches in a visually simplified way. An algorithm is formed by a set of boxes and lines...")
 
Line 3: Line 3:


==Step by Step Approach to Create an Algorithm==
==Step by Step Approach to Create an Algorithm==
===Introduction===
* To begin an algorithm, you should start with the following code <nowiki>{{family tree/start}}</nowiki> and end it with <nowiki>{{family tree/end}}</nowiki>.
* To begin an algorithm, you should start with the following code <nowiki>{{family tree/start}}</nowiki> and end it with <nowiki>{{family tree/end}}</nowiki>.
* You can name an algorithm by starting with following: <nowiki>{{family tree/summary= Name of the algorithm}}</nowiki>
* You can name an algorithm by starting with following: <nowiki>{{family tree/summary= Name of the algorithm}}</nowiki>

Revision as of 15:29, 18 August 2013

Overview

An algorithm is a schematic drawing that helps organizing step by step approaches in a visually simplified way. An algorithm is formed by a set of boxes and lines that join them.

Step by Step Approach to Create an Algorithm

Introduction

  • To begin an algorithm, you should start with the following code {{family tree/start}} and end it with {{family tree/end}}.
  • You can name an algorithm by starting with following: {{family tree/summary= Name of the algorithm}}
  • The algorithm consists of a boxes that occupy virtual rows:
 
 
 
Box 1 in Row 1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Box 2 in Row 2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Box 3 in Row 3
 
 
 
Box 4 in Row 4
  • Each row is represented by the following {{Family tree | | | | | | | | | }} where each | | represents a space.
  • Each box is represented by the content that fills the space in | |

For example | A01 | will give:

 
A01