|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjas.statistics.functions.AbstractFunction
jas.statistics.functions.AbstractArrayFunction
jas.statistics.functions.MaxArrayFunction
public abstract class MaxArrayFunction
This class computes the maximum value in an array of source values. According to the source data type there are four data-type oriented implementations. Each of them implements always the IDoubleSource interface.
Title: JAS
Description: Java Agent-based Simulation library
Copyright (C) 2002 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.
| Nested Class Summary | |
|---|---|
static class |
MaxArrayFunction.Double
MaxFunction operating on double source values. |
static class |
MaxArrayFunction.Float
MaxFunction operating on float source values. |
static class |
MaxArrayFunction.Integer
MaxFunction operating on integer source values. |
static class |
MaxArrayFunction.Long
MaxFunction operating on long source values. |
| Field Summary |
|---|
| Fields inherited from interface jas.statistics.IDoubleSource |
|---|
DEFAULT |
| Constructor Summary | |
|---|---|
MaxArrayFunction(IDoubleArraySource source)
Create a maximum function on a double array source. |
|
MaxArrayFunction(IFloatArraySource source)
Create a maximum function on a float array source. |
|
MaxArrayFunction(IIntArraySource source)
Create a maximum function on an integer array source. |
|
MaxArrayFunction(ILongArraySource source)
Create a maximum function on a long array source. |
|
| Method Summary |
|---|
| Methods inherited from class jas.statistics.functions.AbstractArrayFunction |
|---|
apply, apply, apply, apply, applyFunction |
| Methods inherited from class jas.statistics.functions.AbstractFunction |
|---|
isCheckingTime, performAction, setCheckingTime, updateSource |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface jas.statistics.IDoubleSource |
|---|
getDoubleValue |
| Constructor Detail |
|---|
public MaxArrayFunction(IDoubleArraySource source)
source - The data source.public MaxArrayFunction(IFloatArraySource source)
source - The data source.public MaxArrayFunction(IIntArraySource source)
source - The data source.public MaxArrayFunction(ILongArraySource source)
source - The data source.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||