Skip to main content
. 2024 Feb 20;44(2):260–269. [Article in Chinese] doi: 10.12122/j.issn.1673-4254.2024.02.08

表 3.

基于多准则决策的权重分配算法伪代码

Pseudocode of the proposed multi-criteria decision-making-based weight allocation algorithm

Algorithm 1 Pseudocode of the Proposed Method
Input:
  An evaluation matrix DRn × m, where n is the number of evaluation objects, represent for multi-classifier or multi-modality, m is the number of evaluation criteria.
Process:
Step 1: Normalize the evaluation matrix D column by column by:
Inline graphic
Step 2: Allocating weight for each evaluation object i by:
Inline graphic;
Step 3: Define the weight uniformization factor K :
Inline graphic;
Step 4: Uniformize the weights by the defined weight uniformization factor K to make sure the sum of weights equals to 1:
Inline graphic.
Output:
  Weight for each evaluation object ωi(i = 1, 2, ..., n).