Interface IDoubleSource
- All Known Implementing Classes:
CountArrayFunction, DoubleInvoker, MaxArrayFunction, MaxArrayFunction.Double, MaxArrayFunction.Float, MaxArrayFunction.Integer, MaxArrayFunction.Long, MaxTraceFunction, MaxTraceFunction.Double, MaxTraceFunction.Float, MaxTraceFunction.Integer, MaxTraceFunction.Long, MeanArrayFunction, MeanVarianceArrayFunction, MinArrayFunction, MinArrayFunction.Double, MinArrayFunction.Float, MinArrayFunction.Integer, MinArrayFunction.Long, MinTraceFunction, MinTraceFunction.Double, MinTraceFunction.Float, MinTraceFunction.Integer, MinTraceFunction.Long, MovingAverageArrayFunction, MovingAverageTraceFunction, MultiTraceFunction, MultiTraceFunction.Double, MultiTraceFunction.Float, MultiTraceFunction.Integer, MultiTraceFunction.Long, PercentileArrayFunction, SumArrayFunction, SumArrayFunction.Double, SumArrayFunction.Float, SumArrayFunction.Integer, SumArrayFunction.Long, Weighted_MeanArrayFunction, Weighted_SumArrayFunction, Weighted_SumArrayFunction.Double, Weighted_SumArrayFunction.Float, Weighted_SumArrayFunction.Integer, Weighted_SumArrayFunction.Long
public interface IDoubleSource
Used by statistical object to access double data. Each variable must have a
unique integer id.
Title: JAS
Description: Java Agent-based Simulation library
Copyright (C) 2002-3 Michele Sonnessa
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
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondoublegetDoubleValue(Enum<?> variableID) Return the double value corresponding to the given variableID
-
Method Details
-
getDoubleValue
Return the double value corresponding to the given variableID- Parameters:
variableID- A unique identifier for a variable.- Returns:
- The current double value of the required variable.
-