Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Weakest precondition, strongest postcondition?

Dikenal juga sebagai: weakest precondition · strongest postcondition

Definition 20.3 University Computer Science — Year 3 · Bab 20 — Program Verification: Hoare Logic and Model Checking

The weakest precondition wp(S,Q)\mathrm{wp}(S, Q) is a formula that holds in exactly the states from which every run of SS terminates in a state satisfying QQ. The strongest postcondition sp(P,S)\mathrm{sp}(P, S) holds in exactly the states that runs of SS from PP can end in.

Baca dalam konteks →