class GraphTools {

    static double interpolateCalculatedValue(BgReading first, BgReading second, long timestamp) {
        return interpolate(first.timestamp, first.getDg_mgdl(), second.timestamp, second.getDg_mgdl(), timestamp);
    }

}