Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.maloi.evolvo.expressiontree.operators
Interface OperatorInterface  view OperatorInterface download OperatorInterface.java

All Known Implementing Classes:
Absolute, Addition, And, Arccos, Arcsin, Arctan, Atan2, Beta, Ceil, Cosine, Division, Exponent, Floor, Ifs, Invert, Mandel, Maximum, Minimum, Multiplication, Mux3, Mux5, Noise, Not, Or, Remainder, Rint, Sine, Subtraction, WarpedNoise, Xor

public interface OperatorInterface

Defines the interface which all operators must implement


Method Summary
 java.lang.String getName()
          Returns the name of the operator.
 int getNumberOfParameters()
          Returns the number of parameters the operator expects.
 void init()
          Performs any initialization the operator may require.
 void perform(org.maloi.evolvo.expressiontree.vm.Stack theStack)
          Executes this operator on values in the given stack.
 

Method Detail

getName

public java.lang.String getName()
Returns the name of the operator.


init

public void init()
Performs any initialization the operator may require.


getNumberOfParameters

public int getNumberOfParameters()
Returns the number of parameters the operator expects.


perform

public void perform(org.maloi.evolvo.expressiontree.vm.Stack theStack)
Executes this operator on values in the given stack. Pushes its result back onto the stack.