@Override
    public final boolean equals(final Object o) {

        if (this == o) return true;
        if (o == null || getClass() != o.getClass())
            return false;

        final Event event = (Event) o;

        return _bid == event._bid
                && Double.compare(event._prob, _prob) == 0
                && _tid == event._tid;
    }