TopsisLocalDatasource class abstract interface

Abstract class defining the contract for TOPSIS (Technique for Order of Preference by Similarity to Ideal Solution) local data operations.

This datasource handles the core TOPSIS algorithm operations including:

  • Matrix generation from alternatives and criteria
  • Euclidean normalization
  • Weighted matrix calculation
  • Ideal solution identification (A+ and A-)
  • Distance measurement and relative closeness calculation
Implementers

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

calculateResult({required TopsisRawMatrix rawMatrix}) Future<List<WeightedDecisionResult>>
Calculates the final TOPSIS results from a decision matrix.
calculateResultWithExistingMatrix({required TopsisRawMatrix rawMatrix}) Future<List<WeightedDecisionResult>>
Calculates results using an existing matrix with validation and fixing.
generateTopsisMatrix({required List<WeightedDecisionAlternative> listAlternative, required List<WeightedDecisionCriteria> listCriteria}) Future<TopsisRawMatrix>
Generates a TOPSIS raw decision matrix from the given alternatives and criteria.
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