org.fraid.function
Class DefinedFunctionTreeCore

java.lang.Object
  extended by org.fraid.function.DefinedFunctionCore
      extended by org.fraid.function.DefinedFunctionTreeCore
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class DefinedFunctionTreeCore
extends DefinedFunctionCore

See Also:
Serialized Form

Field Summary
protected  SimpleNode mRoot
           
 
Fields inherited from class org.fraid.function.DefinedFunctionCore
mNeedsRegeneration, mOwner
 
Constructor Summary
DefinedFunctionTreeCore(DefinedFunction aOwner)
           
 
Method Summary
 void addChangeListener(javax.swing.event.ChangeListener aListener)
           
 java.lang.Object clone()
           
 DefinedFunction getBaseSampledFunction()
           
 Samples getBaseSamples()
           
 void getDependancies(java.util.Vector<ComplexFunction> aVector, java.util.HashSet<ComplexFunction> aAllreadyPassed)
           
 Samples getEvaluatedSamples()
           
 SimpleNode getRoot()
           
 Samples getSamples()
           
 Complex invoke(Complex[] args)
           
 int removeChangeListener(javax.swing.event.ChangeListener aListener)
           
 void setRoot(SimpleNode aNode)
           
 java.lang.String toString()
           
 
Methods inherited from class org.fraid.function.DefinedFunctionCore
checkAndRegenerate, getOwner, setOwner, setRegenerationFlag
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mRoot

protected SimpleNode mRoot
Constructor Detail

DefinedFunctionTreeCore

public DefinedFunctionTreeCore(DefinedFunction aOwner)
Method Detail

invoke

public Complex invoke(Complex[] args)
               throws java.lang.Exception
Specified by:
invoke in class DefinedFunctionCore
Throws:
java.lang.Exception

setRoot

public void setRoot(SimpleNode aNode)

getRoot

public SimpleNode getRoot()
Specified by:
getRoot in class DefinedFunctionCore

clone

public java.lang.Object clone()
Overrides:
clone in class DefinedFunctionCore

getSamples

public Samples getSamples()
Specified by:
getSamples in class DefinedFunctionCore

getBaseSamples

public Samples getBaseSamples()
Specified by:
getBaseSamples in class DefinedFunctionCore

getEvaluatedSamples

public Samples getEvaluatedSamples()
                            throws java.lang.Exception
Specified by:
getEvaluatedSamples in class DefinedFunctionCore
Throws:
java.lang.Exception

getBaseSampledFunction

public DefinedFunction getBaseSampledFunction()
Specified by:
getBaseSampledFunction in class DefinedFunctionCore

toString

public java.lang.String toString()
Specified by:
toString in class DefinedFunctionCore

getDependancies

public void getDependancies(java.util.Vector<ComplexFunction> aVector,
                            java.util.HashSet<ComplexFunction> aAllreadyPassed)
Specified by:
getDependancies in class DefinedFunctionCore

addChangeListener

public void addChangeListener(javax.swing.event.ChangeListener aListener)
Specified by:
addChangeListener in class DefinedFunctionCore

removeChangeListener

public int removeChangeListener(javax.swing.event.ChangeListener aListener)
Specified by:
removeChangeListener in class DefinedFunctionCore


Fraid (system and language). (C) 2003-2007 Ivaylo Iliev
This program 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.
This program 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 this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.