Expert system for macroseimic investigations