Interface IWeightedFloatArraySource

  • All Known Implementing Classes:
    Weighted_CrossSection.Float

    public interface IWeightedFloatArraySource
    Used by statistical object to access array of float values.

    Title: JAS-mine

    Description: Java Agent-based Simulation library. Modelling in a Networked Environment

    Copyright (C) 2017 Michele Sonnessa and Ross Richardson

    This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
    Author:
    Michele Sonnessa and Ross Richardson

    • Method Detail

      • getFloatArray

        float[] getFloatArray()
        Return the currently cached array of float values.
        Returns:
        An array of float or a null pointer if the source is empty.
      • getWeights

        double[] getWeights()