Examples of minimum()


Examples of org.apache.sis.math.Statistics.minimum()

            format.format(new Statistics[] {beforeGC, afterGC}, out);
        } catch (IOException e) {
            throw new AssertionError(e);
        }
        assertTrue("Minimum key value should be greater after garbage collection.",
                afterGC.minimum() >= beforeGC.minimum());
    }
}
View Full Code Here

Examples of org.geotools.math.Statistics.minimum()

        StringBuilder sb = new StringBuilder();
        sb.append("<table><thead><tr><td>Type name</td><td>Count</td><td>Min</td><td>Max</td><td>Avg</td><td>Total</td></tr></thead>");
        for(Entry<Name, Statistics> e : serializationMillisByType.entrySet()) {
            Statistics st = e.getValue();
            sb.append("<tr><td>").append(e.getKey()).append("</td><td>").append(st.count()).append("</td><td>")
                .append(st.minimum()).append("</td><td>").append(st.maximum()).append("</td><td>").append(st.mean())
                .append("</td><td>").append(st.mean()*st.count()).append("</td></tr>");
        }
        sb.append("</table>");
        return sb.toString();
    }
View Full Code Here

Examples of prefuse.data.util.Index.minimum()

    public int getMinimumRow() {
        accessCheck();
        if ( m_min == -1 && m_dynamic ) {
            Index idx = m_table.getIndex(m_field);
            if ( idx != null ) {
                m_min = idx.minimum();
            } else {
                m_min = DataLib.min(m_table.tuples(), m_field, m_cmp).getRow();
            }
        }
        return m_min;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.