AhpLocalDatasource class abstract

Abstract class defining the contract for AHP (Analytic Hierarchy Process) local data operations.

This datasource handles the complete AHP algorithm workflow including:

  • Criteria and alternative identification
  • Hierarchy structure generation
  • Pairwise comparison matrix generation
  • Eigenvalue/eigenvector calculation
  • Consistency ratio checking
  • Final score calculation with ranking
Implementers

Constructors

AhpLocalDatasource()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

calculateFinalScore(List<AhpHierarchy> hierarchy, List<PairwiseComparisonInput> inputsCriteria, List<PairwiseAlternativeInput> inputsAlternative) Future<AhpResult>
Calculates the final AHP scores and rankings.
generateHierarchy(List<AhpItem> criteria, List<AhpItem> alternative) Future<List<AhpHierarchy>>
Generates the hierarchical structure for AHP analysis.
generatePairwiseAlternative(List<AhpHierarchy> nodes) Future<List<PairwiseAlternativeInput>>
Generates pairwise comparison templates for alternatives under each criteria.
generatePairwiseCriteria(List<AhpItem> criteria) Future<List<PairwiseComparisonInput>>
Generates pairwise comparison templates for criteria.
identification(List<AhpItem> criteria, List<AhpItem> alternative) Future<AhpIdentification>
Identifies and validates criteria and alternatives for AHP analysis.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited