Package microsim.statistics.weighted
Interface IWeightedIntArraySource
- All Known Implementing Classes:
Weighted_CrossSection.Integer
public interface IWeightedIntArraySource
Used by statistical object to access array of integer 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 Summary
Modifier and TypeMethodDescriptionint[]Return the currently cached array of integer values.double[]
-
Method Details
-
getIntArray
int[] getIntArray()Return the currently cached array of integer values.- Returns:
- An array of double or a null pointer if the source is empty.
-
getWeights
double[] getWeights()
-