Package | Description |
---|---|
jcgp.backend.function | |
jcgp.backend.population | |
jcgp.backend.resources | |
jcgp.gui.population |
Modifier and Type | Class and Description |
---|---|
static class |
DigitalCircuitFunctions.And
ANDs inputs together.
|
static class |
DigitalCircuitFunctions.AndNotA
ANDs inputs together with one input inverted.
|
static class |
DigitalCircuitFunctions.AndNotB
ANDs inputs together with one input inverted.
|
static class |
DigitalCircuitFunctions.ConstantOne
Outputs a constant 1, has no inputs.
|
static class |
DigitalCircuitFunctions.ConstantZero
Outputs a constant 0, has no inputs.
|
static class |
DigitalCircuitFunctions.Mux1
Works as a multiplexer.
|
static class |
DigitalCircuitFunctions.Mux2
Works as a multiplexer.
|
static class |
DigitalCircuitFunctions.Mux3
Works as a multiplexer.
|
static class |
DigitalCircuitFunctions.Mux4
Works as a multiplexer.
|
static class |
DigitalCircuitFunctions.Nand
NANDs inputs together.
|
static class |
DigitalCircuitFunctions.Nor
NORs inputs together.
|
static class |
DigitalCircuitFunctions.NotA
Inverts input, equivalent to inverter logic gate.
|
static class |
DigitalCircuitFunctions.NotB
Inverts input, equivalent to inverter logic gate.
|
static class |
DigitalCircuitFunctions.Or
ORs inputs together.
|
static class |
DigitalCircuitFunctions.OrNotA
ORs inputs together with one inverted input.
|
static class |
DigitalCircuitFunctions.OrNotB
ORs inputs together with one inverted input.
|
static class |
DigitalCircuitFunctions.WireA
Connects one node to another with no function.
|
static class |
DigitalCircuitFunctions.WireB
Connects one node to another with no function.
|
static class |
DigitalCircuitFunctions.Xnor
XNORs inputs together.
|
static class |
DigitalCircuitFunctions.Xor
XORs inputs together.
|
static class |
SymbolicRegressionFunctions.Absolute
Absolute returns the positive value of input 0.
|
static class |
SymbolicRegressionFunctions.Addition
Addition returns the sum of inputs 0 and 1.
|
static class |
SymbolicRegressionFunctions.Cosine
Cosine function, in radians.
|
static class |
SymbolicRegressionFunctions.CosineAB
Cosine of sum.
|
static class |
SymbolicRegressionFunctions.Division
Protected division, returns the quotient of input 0 (the dividend) and input 1 (the divisor).
|
static class |
SymbolicRegressionFunctions.Exponential
Exponential function.
|
static class |
SymbolicRegressionFunctions.HyperbolicCosine
Returns the hyperbolic cosine of input 0.
|
static class |
SymbolicRegressionFunctions.HyperbolicSine
Returns the hyperbolic sine of input 0.
|
static class |
SymbolicRegressionFunctions.HyperbolicTangent
Returns the hyperbolic tangent of input 0.
|
static class |
SymbolicRegressionFunctions.Hypotenuse
Hypotenuse function.
|
static class |
SymbolicRegressionFunctions.LogBaseTen
Protected log base 10 function.
|
static class |
SymbolicRegressionFunctions.Multiplication
Multiplication returns the product of inputs 0 and 1.
|
static class |
SymbolicRegressionFunctions.NaturalLog
Protected natural log function.
|
static class |
SymbolicRegressionFunctions.Power
Power function.
|
static class |
SymbolicRegressionFunctions.Reciprocal
Protected reciprocal function, returns (1 / input 0).
|
static class |
SymbolicRegressionFunctions.Sine
Sine function, in radians.
|
static class |
SymbolicRegressionFunctions.SineAB
Sine of sum.
|
static class |
SymbolicRegressionFunctions.SquareRoot
Protected square root function, returns the square root of the absolute
value of input 0.
|
static class |
SymbolicRegressionFunctions.Subtraction
Subtraction returns the difference between inputs 0 and 1.
|
static class |
SymbolicRegressionFunctions.Tangent
Protected tangent function, in radians.
|
static class |
TravellingSalesmanFunctions.AbsoluteCosineAB
Cosine of sum.
|
static class |
TravellingSalesmanFunctions.AbsoluteHyperbolicTangentAB
Hyperbolic tangent of sum.
|
static class |
TravellingSalesmanFunctions.AbsoluteSineAB
Sine of sum.
|
static class |
TravellingSalesmanFunctions.BoundedDivision
Bounded division, returns the quotient of the two inputs where the larger
is the denominator.
|
static class |
TravellingSalesmanFunctions.Cube
Cube function, returns the value of input 0 cubed.
|
static class |
TravellingSalesmanFunctions.Multiplication
Multiplication returns the product of inputs 0 and 1.
|
static class |
TravellingSalesmanFunctions.ScaledAddition
Scaled addition returns the sum of inputs 0 and 1 scaled
to the range 0 < x > 1.
|
static class |
TravellingSalesmanFunctions.ScaledExponential
Scaled exponential function.
|
static class |
TravellingSalesmanFunctions.ScaledHypotenuse
Scaled hypotenuse function.
|
static class |
TravellingSalesmanFunctions.Square
Square function, returns the square of the
value of input 0.
|
static class |
TravellingSalesmanFunctions.SquaredMultiplication
Multiplication returns the product of inputs 0 and 1, squared.
|
static class |
TravellingSalesmanFunctions.SquareRoot
Protected square root function, returns the square root of the absolute
value of input 0.
|
static class |
TravellingSalesmanFunctions.SymmetricSubtraction
Symmetric subtraction returns the absolute difference between inputs 0 and 1,
scaled to the range 0 <; x > 1.
|
Modifier and Type | Method and Description |
---|---|
Function |
FunctionSet.getAllowedFunction(int index)
Returns an allowed function.
|
Function |
FunctionSet.getFunction(int index)
Returns a function from the complete collection,
enabled or disabled alike.
|
Modifier and Type | Method and Description |
---|---|
boolean |
FunctionSet.isEnabled(Function function)
Checks if a specified function is enabled.
|
Modifier and Type | Method and Description |
---|---|
Function |
Node.getFunction() |
Modifier and Type | Method and Description |
---|---|
void |
Node.initialise(Function newFunction,
Connection... newConnections)
Initialises the node with the specified values.
|
void |
Node.setFunction(Function newFunction)
Sets the node function.
|
Modifier and Type | Method and Description |
---|---|
Function |
Resources.getFunction(int index)
Gets the indexed function out of the
complete set of functions.
|
Function |
Resources.getRandomFunction()
Gets a random allowed function from the problem function set.
|
Modifier and Type | Method and Description |
---|---|
int |
Resources.getFunctionIndex(Function function)
Returns the index of a specified function.
|
Modifier and Type | Method and Description |
---|---|
void |
GUINode.setFunction(Function function) |