Research Article

Garage Location Selection for Public Transportation System in Istanbul: An Integrated Fuzzy AHP and Fuzzy Axiomatic Design Based Approach

Pseudocode 1

Program ADSolver.
Input data: alternative, mainCriteria, subCriteria, designRange, systemRange, typeOfAD;
 For to number of alternatives
  Insert name of alternative;
 End For;
  For to number of mainAttributes
  Insert name of mainAttribute;
  For to number of mainAttributes
   Insert name of subAttribute;
   Insert designRange values for subAttribute;
   Insert systemRange values for subAttribute;
   If typeOfAD == weighted then
     Insert weight of subAttribute;
   End If;
  End For;
  If typeOfAD == weighted then
   Insert weight of mainAttribute;
  End If;
 End For;
 For to number of mainAttributes
  For to number of subAttributes
      Set = log2(system area for subAttribute/common area for subAttribute);
      If typeOfAD == weighted then
       Set Information Content of
  SubAttribute = weight of subAttribute ;
      End If;
      Set Total Information Content of mainAttribute =+ Information Content of SubAttribute;
  End For;
  If typeOfAD == weighted then
   Set Information Content of
  mainAttribute = weight of mainAttribute Total Information Content of mainAttribute;
  End If;
 End For;
For to number of alternatives
    Choose of the alternative has lowest Information Content;
End For;
End.