SawLocalDatasource class abstract

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

Constructors

SawLocalDatasource()

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<SawMatrix> matrix}) Future<List<SawResult>>
Calculates results using an existing matrix with validation and fixing.
calculateSawResult({required List<SawMatrix> matrix}) Future<List<SawResult>>
Calculates the final SAW results from a decision matrix.
generateSawMatrix({required List<SawAlternative> listAlternative, required List<SawCriteria> listCriteria}) Future<List<SawMatrix>>
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