Research Article
Heuristic Algorithm for Cross-Platform Credit Risk Transmission Based on Hybrid Strategies
Algorithm 2
Breadth first search algorithm (BFS).
| Input: -order square matrix , Credit risk source node , | | Output:Affected node set | (1) | , , | (2) | While | | For to | | Set current node as the th element in set Θ | | For j to n | | If and | | | | Endif | | Endfor | | Endfor | | , , | | Endwhile | (3) | Return |
|