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

Quick Search    Search Deep

exptree.utilities
Class mutator  view mutator download mutator.java

java.lang.Object
  extended byexptree.utilities.mutator

public class mutator
extends java.lang.Object


Field Summary
(package private)  double arg_to_child_arg
           
(package private)  double become_arg
           
(package private)  double change
           
(package private)  double change_function
           
(package private)  exptree.operators.operatorInterface[] list
           
(package private)  double new_expression
           
(package private)  double new_expression_arg
           
(package private)  double scalar_change_value
           
(package private)  settings.globalSettings settings
           
(package private)  double to_scalar
           
(package private)  double to_variable
           
(package private)  double totalProbs
           
(package private)  variablePackage variables
           
 
Constructor Summary
mutator(settings.globalSettings s, variablePackage p)
           
 
Method Summary
 exptree.expressionTree mutate(double level, java.util.Random r, exptree.expressionTree current)
           
 exptree.expressionTree mutate(java.util.Random r, exptree.expressionTree current)
           
(package private)  exptree.operators.operatorInterface pickRandomOp(java.util.Random whichOp)
          Returns a randomly chosen operatorInterface object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

settings

settings.globalSettings settings

variables

variablePackage variables

scalar_change_value

double scalar_change_value

to_variable

double to_variable

to_scalar

double to_scalar

new_expression

double new_expression

change_function

double change_function

new_expression_arg

double new_expression_arg

become_arg

double become_arg

arg_to_child_arg

double arg_to_child_arg

change

double change

totalProbs

double totalProbs

list

exptree.operators.operatorInterface[] list
Constructor Detail

mutator

public mutator(settings.globalSettings s,
               variablePackage p)
Method Detail

mutate

public exptree.expressionTree mutate(java.util.Random r,
                                     exptree.expressionTree current)

mutate

public exptree.expressionTree mutate(double level,
                                     java.util.Random r,
                                     exptree.expressionTree current)

pickRandomOp

exptree.operators.operatorInterface pickRandomOp(java.util.Random whichOp)
Returns a randomly chosen operatorInterface object.