# Function to calculate result of AHP

### Description

This function calculates output of AHP based on `Weights`

or `FuzzyWeights`

on data represented either by `matrix`

or
`FuzzyData`

.

### Usage

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ```
calculateAHP(weights, data)
## S4 method for signature 'Weights,matrix'
calculateAHP(weights, data)
## S4 method for signature 'FuzzyWeights,matrix'
calculateAHP(weights, data)
## S4 method for signature 'FuzzyWeights,FuzzyData'
calculateAHP(weights, data)
## S4 method for signature 'PairwiseComparisonMatrix,matrix'
calculateAHP(weights, data)
## S4 method for signature 'FuzzyPairwiseComparisonMatrix,matrix'
calculateAHP(weights, data)
## S4 method for signature 'FuzzyPairwiseComparisonMatrix,FuzzyData'
calculateAHP(weights, data)
``` |

### Arguments

`weights` |
object of class Weights or FuzzyWeights. Alternatively objects of classes PairwiseComparisonMatrix or FuzzyPairwiseComparisonMatrix can be passed to directly calculate weights from these classes. |

`data` |
matrix or FuzzyData with number of colums equal to number of rows in |

### Value

Either a matrix (if Weights and `matrix`

were used as inputs) or
FuzzyData (if FuzzyWeights were used).