NeuralConnection (original) (raw)

Modifier and Type

Method and Description

static boolean

[connect](../../../../weka/classifiers/functions/neural/NeuralConnection.html#connect-weka.classifiers.functions.neural.NeuralConnection-weka.classifiers.functions.neural.NeuralConnection-)([NeuralConnection](../../../../weka/classifiers/functions/neural/NeuralConnection.html "class in weka.classifiers.functions.neural") s,[NeuralConnection](../../../../weka/classifiers/functions/neural/NeuralConnection.html "class in weka.classifiers.functions.neural") t)

Connects two units together.

static boolean

[disconnect](../../../../weka/classifiers/functions/neural/NeuralConnection.html#disconnect-weka.classifiers.functions.neural.NeuralConnection-weka.classifiers.functions.neural.NeuralConnection-)([NeuralConnection](../../../../weka/classifiers/functions/neural/NeuralConnection.html "class in weka.classifiers.functions.neural") s,[NeuralConnection](../../../../weka/classifiers/functions/neural/NeuralConnection.html "class in weka.classifiers.functions.neural") t)

Disconnects two units.

void

[drawHighlight](../../../../weka/classifiers/functions/neural/NeuralConnection.html#drawHighlight-java.awt.Graphics-int-int-)(java.awt.Graphics g, int w, int h)

Call this function to draw the node highlighted.

void

[drawInputLines](../../../../weka/classifiers/functions/neural/NeuralConnection.html#drawInputLines-java.awt.Graphics-int-int-)(java.awt.Graphics g, int w, int h)

Call this function to draw the nodes input connections.

void

[drawNode](../../../../weka/classifiers/functions/neural/NeuralConnection.html#drawNode-java.awt.Graphics-int-int-)(java.awt.Graphics g, int w, int h)

Call this function to draw the node.

void

[drawOutputLines](../../../../weka/classifiers/functions/neural/NeuralConnection.html#drawOutputLines-java.awt.Graphics-int-int-)(java.awt.Graphics g, int w, int h)

Call this function to draw the nodes output connections.

abstract double

[errorValue](../../../../weka/classifiers/functions/neural/NeuralConnection.html#errorValue-boolean-)(boolean calculate)

Call this to get the error value of this unit.

java.lang.String

[getId](../../../../weka/classifiers/functions/neural/NeuralConnection.html#getId--)()

int[]

[getInputNums](../../../../weka/classifiers/functions/neural/NeuralConnection.html#getInputNums--)()

Use this to get easy access to the input numbers.

[NeuralConnection](../../../../weka/classifiers/functions/neural/NeuralConnection.html "class in weka.classifiers.functions.neural")[]

[getInputs](../../../../weka/classifiers/functions/neural/NeuralConnection.html#getInputs--)()

Use this to get easy access to the inputs.

int

[getNumInputs](../../../../weka/classifiers/functions/neural/NeuralConnection.html#getNumInputs--)()

int

[getNumOutputs](../../../../weka/classifiers/functions/neural/NeuralConnection.html#getNumOutputs--)()

int[]

[getOutputNums](../../../../weka/classifiers/functions/neural/NeuralConnection.html#getOutputNums--)()

Use this to get easy access to the output numbers.

[NeuralConnection](../../../../weka/classifiers/functions/neural/NeuralConnection.html "class in weka.classifiers.functions.neural")[]

[getOutputs](../../../../weka/classifiers/functions/neural/NeuralConnection.html#getOutputs--)()

Use this to get easy access to the outputs.

int

[getType](../../../../weka/classifiers/functions/neural/NeuralConnection.html#getType--)()

double

[getX](../../../../weka/classifiers/functions/neural/NeuralConnection.html#getX--)()

double

[getY](../../../../weka/classifiers/functions/neural/NeuralConnection.html#getY--)()

boolean

[onUnit](../../../../weka/classifiers/functions/neural/NeuralConnection.html#onUnit-java.awt.Graphics-int-int-int-int-)(java.awt.Graphics g, int x, int y, int w, int h)

Call this function to determine if the point at x,y is on the unit.

abstract double

[outputValue](../../../../weka/classifiers/functions/neural/NeuralConnection.html#outputValue-boolean-)(boolean calculate)

Call this to get the output value of this unit.

void

[removeAllInputs](../../../../weka/classifiers/functions/neural/NeuralConnection.html#removeAllInputs--)()

This function will remove all the inputs to this unit.

void

[removeAllOutputs](../../../../weka/classifiers/functions/neural/NeuralConnection.html#removeAllOutputs--)()

This function will remove all outputs to this unit.

abstract void

[reset](../../../../weka/classifiers/functions/neural/NeuralConnection.html#reset--)()

Call this to reset the unit for another run.

abstract void

[restoreWeights](../../../../weka/classifiers/functions/neural/NeuralConnection.html#restoreWeights--)()

Call this to have the connection restore from the saved weights.

abstract void

[saveWeights](../../../../weka/classifiers/functions/neural/NeuralConnection.html#saveWeights--)()

Call this to have the connection save the current weights.

void

[setType](../../../../weka/classifiers/functions/neural/NeuralConnection.html#setType-int-)(int t)

void

[setX](../../../../weka/classifiers/functions/neural/NeuralConnection.html#setX-double-)(double x)

void

[setY](../../../../weka/classifiers/functions/neural/NeuralConnection.html#setY-double-)(double y)

void

[updateWeights](../../../../weka/classifiers/functions/neural/NeuralConnection.html#updateWeights-double-double-)(double l, double m)

Call this function to update the weight values at this unit.

double

[weightValue](../../../../weka/classifiers/functions/neural/NeuralConnection.html#weightValue-int-)(int n)

Call this to get the weight value on a particular connection.