All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.actelion.research.calc.statistics.ModelStatisticsOverview Maven / Gradle / Ivy

There is a newer version: 2024.11.2
Show newest version
package com.actelion.research.calc.statistics;

import java.io.Serializable;

/**
 * ModelStatisticsOverview
 * 

Modest v. Korff

*

* Created by korffmo1 on 29.11.18. */ public class ModelStatisticsOverview implements Serializable { public double min; public double avr; public double max; public double sdv; public ModelStatisticsOverview(double min, double avr, double max, double sdv) { this.min = min; this.avr = avr; this.max = max; this.sdv = sdv; } public ModelStatisticsOverview() { } public boolean areAllFinite(){ if(!Double.isFinite(min)) { return false; } else if(!Double.isFinite(avr)) { return false; } else if(!Double.isFinite(max)) { return false; } return true; } @Override public String toString() { final StringBuilder sb = new StringBuilder("ModelStatisticsOverview{"); sb.append("min=").append(min); sb.append(", avr=").append(avr); sb.append(", max=").append(max); sb.append(", sdv=").append(sdv); sb.append('}'); return sb.toString(); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy