Reliability analysis of discrete-state performance functions via adaptive sequential sampling with detection of failure surfaces