calculateResultWithExistingMatrix abstract method

Future<List<SawResult>> calculateResultWithExistingMatrix({
  1. required List<SawMatrix> matrix,
})

Calculates results using an existing matrix with validation and fixing.

This method is useful when working with pre-existing matrices that may need validation or weight normalization before calculation.

Parameters:

  • matrix: The existing decision matrix to calculate from

Returns: A ranked list of SawResult objects

Throws:

  • Exception if matrix is empty or contains invalid data

Implementation

Future<List<SawResult>> calculateResultWithExistingMatrix({
  required List<SawMatrix> matrix,
});