Automated Decision Procedure for Earthquake Early Warning