simAuxLibrary
Interface ValueFunctionInterface

All Known Implementing Classes:
ValueFunction

public interface ValueFunctionInterface

Bibliothek simAuxLibrary

Klasse ValueFunctionInterface

Copyright by Klaus Hufschlag 2004, 2005

This file is part of the Generic Classifier Library. The Generic Classifier Library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The Generic Classifier 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 General Public License for more details. You should have received a copy of the GNU General Public License along with the Generic Classifier Library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Version:
1.3
Author:
Klaus Hufschlag

Method Summary
 double getValue(java.util.ArrayList keys)
          Klasse ValueFunction, Methode assignValueSetzen einer Zuordnung eines Wertes zu einem Objekt n-Tupel.
 double getValue(java.lang.Object x)
          Klasse ValueFunction, Methode getValueAbfrage eines einem Objekt zugeordneten Wertes.
 double getValue(java.lang.Object x, java.lang.Object y)
          Klasse ValueFunction, Methode getValueAbfrage eines einem Tupel zugeordneten Wertes.
 

Method Detail

getValue

public double getValue(java.util.ArrayList keys)

Klasse ValueFunction, Methode assignValue

Setzen einer Zuordnung eines Wertes zu einem Objekt n-Tupel.

Parameters:
keys - Objekt-n-Tupel als Schlüssel

getValue

public double getValue(java.lang.Object x)

Klasse ValueFunction, Methode getValue

Abfrage eines einem Objekt zugeordneten Wertes. Kurzschreibweise von getValue.

Parameters:
x - Schlüsselobjekt
Returns:
zugeordneter Wert

getValue

public double getValue(java.lang.Object x,
                       java.lang.Object y)

Klasse ValueFunction, Methode getValue

Abfrage eines einem Tupel zugeordneten Wertes. Kurzschreibweise von getValue.

Parameters:
x - erstes Schlüsselobjekt
y - zweites Schlüsselobjekt
Returns:
zugeordneter Wert