SawLocalDatasource class abstract interface

Abstract class defining the contract for SAW (Simple Additive Weighting) local data operations.

This datasource handles the core SAW algorithm operations including:

  • Matrix generation from alternatives and criteria
  • Matrix normalization
  • Result calculation with ranking
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

calculateResultWithExistingMatrix({required List<WeightedDecisionMatrix> matrix}) Future<List<WeightedDecisionResult>>
Calculates results using an existing matrix with validation and fixing.
calculateSawResult({required List<WeightedDecisionMatrix> matrix}) Future<List<WeightedDecisionResult>>
Calculates the final SAW results from a decision matrix.
generateSawMatrix({required List<WeightedDecisionAlternative> listAlternative, required List<WeightedDecisionCriteria> listCriteria}) Future<List<WeightedDecisionMatrix>>
Generates a SAW 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