P And Np Completeness In Toca