class Impression implements Serializable {

    public long getIndividualHistogramCountByPriceCategory(int priceCategory)
    {
        long t = 0;
        switch (priceCategory)
        {
            case 0:
                t = h0.getT();
                break;
            case 1:
                t = h1.getT();
                break;
            case 2:
                t = h2.getT();
                break;
            case 3:
                t = h3.getT();
                break;
            default:
                return t;
        }
        return t;
    }

    public  Impression();
    public  Impression(H0 h0, H1 h1, H2 h2, H3 h3);
    public  Impression(Double[] dayCounts);
    public  Impression(double[] dayCounts);
    public  Impression(Map map);

}