org.fraid.function
Class DefinedFunctionCore

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

public abstract class DefinedFunctionCore
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

See Also:
Serialized Form

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

Field Detail

mOwner

protected DefinedFunction mOwner

mNeedsRegeneration

protected boolean mNeedsRegeneration
Constructor Detail

DefinedFunctionCore

public DefinedFunctionCore(DefinedFunction aOwner)
Method Detail

getOwner

public DefinedFunction getOwner()

setOwner

public void setOwner(DefinedFunction aOwner)

setRegenerationFlag

public void setRegenerationFlag()

checkAndRegenerate

public void checkAndRegenerate()

invoke

public abstract Complex invoke(Complex[] args)
                        throws java.lang.Exception
Throws:
java.lang.Exception

getSamples

public abstract Samples getSamples()

getRoot

public abstract SimpleNode getRoot()

getBaseSamples

public abstract Samples getBaseSamples()

getEvaluatedSamples

public abstract Samples getEvaluatedSamples()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

getBaseSampledFunction

public abstract DefinedFunction getBaseSampledFunction()

toString

public abstract java.lang.String toString()
Overrides:
toString in class java.lang.Object

getDependancies

public abstract void getDependancies(java.util.Vector<ComplexFunction> aVector,
                                     java.util.HashSet<ComplexFunction> aAllreadyPassed)

addChangeListener

public abstract void addChangeListener(javax.swing.event.ChangeListener aListener)

removeChangeListener

public abstract int removeChangeListener(javax.swing.event.ChangeListener aListener)

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException


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.