genopt.db
Class InputFunction

java.lang.Object
  extended by genopt.db.InputFunction

public class InputFunction
extends java.lang.Object

Input function.

This project was carried out at:

and supported by

GenOpt Copyright (c) 1998-2011, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy). All rights reserved.

Version:
GenOpt(R) 3.1.0 (December 8, 2011)

Author:
Michael Wetter

Field Summary
protected  java.lang.String Func
          Function to be evaluated.
protected  java.lang.String Name
          Function name.
protected  int NRef
          Number of times that the function name has been used by another input function
 
Constructor Summary
InputFunction(java.lang.String name, java.lang.String function, int nRef)
          Creates a new InputFunction instance.
 
Method Summary
 java.lang.String getFunction()
           
 java.lang.String getName()
           
 int getReferenceCounter()
           
 void increaseReferenceCounter()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Name

protected java.lang.String Name
Function name.


Func

protected java.lang.String Func
Function to be evaluated.


NRef

protected int NRef
Number of times that the function name has been used by another input function

Constructor Detail

InputFunction

public InputFunction(java.lang.String name,
                     java.lang.String function,
                     int nRef)
Creates a new InputFunction instance.

Parameters:
name - name of the function
function - function to be evaluated
Method Detail

getName

public java.lang.String getName()

getFunction

public java.lang.String getFunction()

getReferenceCounter

public int getReferenceCounter()

increaseReferenceCounter

public void increaseReferenceCounter()