Class ELMorphInterpolator

java.lang.Object
  |
  +--AbstractELExpression
        |
        +--ELMorphInterpolator
All Implemented Interfaces:
java.lang.Cloneable, ELExpression

public class ELMorphInterpolator
extends AbstractELExpression
implements ELExpression

An interpolator for animation


Field Summary
(package private)  ELExpression a
           
(package private)  ELExpression b
           
 
Constructor Summary
ELMorphInterpolator(ELExpression a, ELExpression b)
          a and b will not be cloned.
 
Method Summary
 java.lang.Object clone()
           
 void evaluate(ELMatrix out, ELEnvironment environment)
          Evaluates this expression.
 ELExpression geneticClone(ELCall parent, GeneticParameters gp)
          Clones, possibly mutating.
 boolean hasExternalInfluences()
          Returns true if the output is influenced by the environment.
 java.lang.String toString()
           
 java.lang.String unparse()
          Generates an EL language source string sufficient to uniquely identify this expression.
 
Methods inherited from class AbstractELExpression
cloneSiblingMutation, cloneWithChildMutations, cloneWithReplacement, encloseInNewCallMutation, getNestedSubexpression, numNestedSubexpressions, randomNestedSubexpression, sameExpression
 
Methods inherited from class java.lang.Object
, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ELExpression
cloneWithReplacement, getNestedSubexpression, numNestedSubexpressions, randomNestedSubexpression, sameExpression
 

Field Detail

a

ELExpression a

b

ELExpression b
Constructor Detail

ELMorphInterpolator

public ELMorphInterpolator(ELExpression a,
                           ELExpression b)
a and b will not be cloned.
Method Detail

geneticClone

public ELExpression geneticClone(ELCall parent,
                                 GeneticParameters gp)
Description copied from interface: ELExpression
Clones, possibly mutating. The operators will be shared between clones but no ELExpressions will be shared.
Specified by:
geneticClone in interface ELExpression
Following copied from interface: ELExpression
Parameters:
parent - Parent expression from previous generation. don't point at or mutate this; it is provided so you can get access to siblings. May be null if there is no parent (i.e. top-level expression).

clone

public java.lang.Object clone()
Specified by:
clone in interface ELExpression
Overrides:
clone in class AbstractELExpression

unparse

public java.lang.String unparse()
Description copied from interface: ELExpression
Generates an EL language source string sufficient to uniquely identify this expression.
Specified by:
unparse in interface ELExpression

toString

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

evaluate

public void evaluate(ELMatrix out,
                     ELEnvironment environment)
Description copied from interface: ELExpression
Evaluates this expression.
Specified by:
evaluate in interface ELExpression

hasExternalInfluences

public boolean hasExternalInfluences()
Description copied from interface: ELExpression
Returns true if the output is influenced by the environment.
Specified by:
hasExternalInfluences in interface ELExpression
Overrides:
hasExternalInfluences in class AbstractELExpression