Package | Description |
---|---|
jcgp.backend.population | |
jcgp.gui.population |
Modifier and Type | Class and Description |
---|---|
class |
Input
This is a chromosome input.
|
class |
Node
Nodes make up the main part of the chromosome,
where the actual functions are evolved.
|
Modifier and Type | Method and Description |
---|---|
Connection |
Node.getConnection(int index) |
Connection |
Chromosome.getRandomConnection()
This method will pick a completely random connection, independently
of levels back, including inputs.
|
Connection |
Chromosome.getRandomConnection(int column)
Returns a random allowed connection respecting levels back.
This method may always pick inputs, as they can be picked regardless of the column. |
Connection |
Output.getSource() |
Modifier and Type | Method and Description |
---|---|
void |
Node.initialise(Function newFunction,
Connection... newConnections)
Initialises the node with the specified values.
|
void |
Node.setConnection(int index,
Connection newConnection) |
void |
Output.setConnection(int index,
Connection newConnection)
When mutating an output, the index parameter
is simply ignored and the output source is
set.
|
void |
Mutable.setConnection(int index,
Connection newConnection)
This method sets the indexed connection to the specified new connection.
|
Modifier and Type | Method and Description |
---|---|
Connection |
GUINode.getChangingConnection() |
Connection |
GUIInput.getChangingConnection() |
Connection |
GUIOutput.getChangingConnection() |
abstract Connection |
GUIGene.getChangingConnection() |
Modifier and Type | Method and Description |
---|---|
void |
GUINode.setChangingConnection(Connection newConnection) |
void |
GUIInput.setChangingConnection(Connection newConnection) |
void |
GUIOutput.setChangingConnection(Connection newConnection) |
abstract void |
GUIGene.setChangingConnection(Connection newConnection) |