| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
HAHP.Reporting
- reportHeader :: String -> String -> UTCTime -> String
- simpleSummary :: (AHPDataSet, [TreeError], [AlternativesError]) -> String
- showConfiguration :: AHPTree -> String
- showErrors :: [TreeError] -> [AlternativesError] -> String
- showTreeError :: TreeError -> String
- showAltsError :: AlternativesError -> String
- showAlternatives :: [Alternative] -> String
- showAlternative :: Int -> Alternative -> String
- showIndicatorValues :: Int -> IndicatorValues -> String
- showIndicatorValue :: Int -> (String, Double) -> String
- showAhpTree :: AHPTree -> String
- showAhpSubTree :: Int -> AHPTree -> String
- showMatrix :: Int -> Matrix Double -> String
- showMatrix' :: Int -> Matrix Double -> String
- variableTabs :: Int -> String
Report making
Arguments
| :: String | Report title |
| -> String | Report author |
| -> UTCTime | Report timestamp |
| -> String | Report header |
Given a title, an author and a timestamp, builds a Pandoc Markdown document header
Arguments
| :: (AHPDataSet, [TreeError], [AlternativesError]) | AHP tree, some alternatives and the result of tree validation |
| -> String | Report build from input |
Print a simple report about an AHP tree and ranking result
Print an AHP tree and some additional information about it
Errors
Arguments
| :: [TreeError] | List of errors |
| -> [AlternativesError] | List of errors |
| -> String | Report errors |
showTreeError :: TreeError -> String Source
Alternatives printing
Arguments
| :: [Alternative] | AHP Alternatives |
| -> String | Report alternatives with indicator values |
Print AHP Alternatives and some additional information about them
Arguments
| :: Int | Deep level. Used to intercalate separators |
| -> Alternative | Alternative |
| -> String | Report about the alternative |
Print an AHP Alternative and some additional information about it
Arguments
| :: Int | Deep level. Used to intercalate separators |
| -> IndicatorValues | IndicatorValues |
| -> String | Report about the values |
Print an AHP IndicatorValues wit name and value
AHP tree printing
showAhpTree :: AHPTree -> String Source
showAhpSubTree :: Int -> AHPTree -> String Source
Matrix printing
variableTabs :: Int -> String Source