Earthquakes are complicated processes varying in time, space and magnitude. The occurrence of a major earthquake event called mainshock is preceded and followed in time by diminishing seismic activities known as foreshocks and aftershocks respectively. The process of identifying mainshocks, aftershocks, and foreshocks in a given earthquake catalog is known...