Home >> All |

• | exptree.operators.* (33) | • | exptree.utilities.* (5) |

**•**

**exptree**: Javadoc index of package exptree.

**Package Samples:**

**•**exptree.operators

**•**exptree.utilities

**Classes:**

**•**generator: Creates a randomly generated mathematic expression and places it in an expressionTree. The generation process is influenced by several parameters contain in a globalSettings object. The most significant are the properties "complexity," "depreciation," and "variable.probability." The complexity value determines how likely the node being produced is to be a terminal node, where the lower complexity's value, the more likely it is to be terminal. Depreciation is a value that is subtracted from complexity at each level of the tree, to ensure the generation process will end within a reasonable number ...

**•**mandel: Returns a value based on a mandelbrot set. This function takes 6 parameters. The first four define a rectangular space within the mandelbrot set. The next two define a point inside that space, relative to that space's own coordinate system. The value returned is in [-1.0,1.0], where -1.0 is the value chosen for the inside of the set, and 1.0 is that for the outside.

**•**division: Divides two expressionTrees. This particular application expects all inputs and outputs on the expressionTree to be bound to [-1.0,1.0], so this function is not actually natural division. The method used to bind the results to [-1.0,1.0] may not be optimal.

**•**imageGenerator: Generates an image based on expressionTrees. Currently, this supports images in the RGB and HSB colorspaces, and therefore takes 3 expressionTrees. The image generation takes place in a thread, and does not begin until the startIt() method is called.

**•**invert: Inverts the value of an expressionTree (for instance 1/x). This particular application expects all inputs and outputs on the expressionTree to be bound to [-1.0,1.0], so this function is not actually natural inversion.

**•**exponent: Returns the exponent of the value of an expressionTree. This particular application expects all inputs and outputs on the expressionTree to be bound to [-1.0,1.0], so this function is not actually a natural exponent.

**•**xor: Returns the exclusive-or function for two expressionTrees This particular application expects all inputs and outputs on the expressionTree to be bound to [-1.0,1.0], so this function is not actually natural xor.

**•**subtraction: Subtracts one expressionTrees from another. This particular application expects all inputs and outputs on the expressionTree to be bound to [-1.0,1.0], so this function is not actually natural subtraction.

**•**operatorList: Creates a list of the currently available operators. Currently the list is hardcoded. In the future, it may generate the list based on classes in CLASSPATH that implement the operatorInterface interface.

**•**sine: Caluclates the sine of an expressionTree's value. This particular application expects all inputs and outputs on the expressionTree to be bound to [-1.0,1.0], so this function is not actually natural sine.

**•**atan2: Returns the atan2 of two expressionTrees This particular application expects all inputs and outputs on the expressionTree to be bound to [-1.0,1.0], so this function is not actually natural atan2.

**•**addition: Adds two expressionTrees together. This particular application expects all inputs and outputs on the expressionTree to be bound to [-1.0,1.0], so this function is not actually natural addition.

**•**warpednoise: Returns the value of a point in a 3 dimensional noise field. The parameters are x,y,z and tx,ty,tz. x,y, and z are multiplied by tx, ty, and tz respectively to effectively warp the noise field.

**•**expressionTree: Handles mathematic expressions in a tree structure, including storage, evaluation, and display. Will eventually provide the functionality to manipulate the tree as well.

**•**variablePackage: Keeps a list of variables available for use in an expressionTree. To Do: put variables in a HashTable and allow the definition of variables.

**•**value: Terminal node for an expressionTree that stores a double value.

**•**noise: Returns the value of a point in a 3 dimensional noise field.

**•**variable: Terminal node for expressionTree that stores a variable.

**•**operatorInterface: Defines the interface which all operators must implement

**•**minimum: Returns the minimum value from two expressionTrees.

**•**maximum: Returns the maximum value of two expressionTrees.

**•**and: Returns the bitwise and of two expressionTrees.

**•**absolute: Returns the absolute value of its parameter.

**•**arctan: Returns the arctangent of an expressionTree.

**•**arccos: Returns the arccosine of an expressionTree.

Home | Contact Us | Privacy Policy | Terms of Service |