Skip to main content
. 2023 Apr 22;23(9):4192. doi: 10.3390/s23094192
Algorithm 2: Simulation for CS Assignment Simulation Process
Input: Budget, r;
Output: Cost Expectation, E; Cost Variance, V
1: for i1, 2, 3,, 1000 do:
2:   All Predicted Crack Widths 🡰 Simulation for AI-based Crack Width Detection Process
3:   Manually Inspect Bridges 🡰 Randomly Select based on r and the Prediction Results
4:   Costi 🡰 r + Misassignment Cost of CS for Rest of Bridges
5: E 🡰 i=1i=1000Costi/1000
6: V 🡰 i=1i=1000(CostiE)2/1000