Neuroph

org.neuroph.util
Class NeuronFactory

java.lang.Object
  extended by org.neuroph.util.NeuronFactory

public class NeuronFactory
extends java.lang.Object

This class provides methods to create instances of Neurons.


Constructor Summary
NeuronFactory()
           
 
Method Summary
static Neuron createNeuron(NeuronProperties neuronProperties)
          Create neuron according to the given specification.
private static SummingFunction createSummingFunction(SummingFunctionType summingFunctionType)
          Kreira ulaznu vektorsku funkciju.
private static TransferFunction createTransferFunction(java.util.Properties tfProperties)
          Creates and returns transfer function
private static WeightsFunction createWeightsFunction(WeightsFunctionType weightsFunctionType)
          Kreira funkciju mreznog ulaza.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NeuronFactory

public NeuronFactory()
Method Detail

createNeuron

public static Neuron createNeuron(NeuronProperties neuronProperties)
Create neuron according to the given specification.

Parameters:
properties - Neuron specification neurona.
Returns:
Returns new neuron with specified properties.

createTransferFunction

private static TransferFunction createTransferFunction(java.util.Properties tfProperties)
Creates and returns transfer function

Parameters:
transferFunctionType - trensfer function type
Returns:
Returns transfer function

createWeightsFunction

private static WeightsFunction createWeightsFunction(WeightsFunctionType weightsFunctionType)
Kreira funkciju mreznog ulaza.

Parameters:
getWeightsFunction - Id funkcije mreznog ulaza.
Returns:
Vraca trazenu funkciju mreznog ulaza.

createSummingFunction

private static SummingFunction createSummingFunction(SummingFunctionType summingFunctionType)
Kreira ulaznu vektorsku funkciju.

Parameters:
inputId - Id ulazne funkcije.
Returns:
Vraca trazenu ulaznu funkciju.

Neuroph