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

Quick Search    Search Deep

Synapsim.blocks.ai.NeuralNetworks
Class DistributedBackErrorPropagationDaemon  view DistributedBackErrorPropagationDaemon download DistributedBackErrorPropagationDaemon.java

java.lang.Object
  extended bySynapsim.blocks.ai.NeuralNetworks.DistributedBackErrorPropagationDaemon
All Implemented Interfaces:
Synapsim.core.BlockDaemon, java.lang.Runnable

public class DistributedBackErrorPropagationDaemon
extends java.lang.Object
implements Synapsim.core.BlockDaemon


Field Summary
private  float acumulatedError
           
protected  Synapsim.core.Block block
           
protected  FeedForwardPropagationNetworkDaemon netRunner
           
private  int nPatterns
           
private  java.lang.Object taskLock
           
protected  DistributedBackErrorPropagationMasterTask[] tasks
           
protected  int tasksFinishedCount
           
 
Constructor Summary
DistributedBackErrorPropagationDaemon(Synapsim.core.Block block)
          Creates a new instance of this class.
 
Method Summary
private  float computeError()
           
 DistributedBackErrorPropagation getBlock()
          returns the Block of this daemon
 void parseData(java.io.BufferedReader br)
           
private  void parseError(java.io.BufferedReader br)
           
private  void parseWeights(java.io.BufferedReader br)
          adds the delta weights form br to the local delta weights
private  void resetLocalWeights()
          sets the local delta weights to 0
 void run()
          Method executed when the Thread is started.
private  void updateLocalWeights()
          adds the local delta weights to the net
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

netRunner

protected FeedForwardPropagationNetworkDaemon netRunner

block

protected Synapsim.core.Block block

tasks

protected DistributedBackErrorPropagationMasterTask[] tasks

tasksFinishedCount

protected int tasksFinishedCount

taskLock

private java.lang.Object taskLock

acumulatedError

private float acumulatedError

nPatterns

private int nPatterns
Constructor Detail

DistributedBackErrorPropagationDaemon

public DistributedBackErrorPropagationDaemon(Synapsim.core.Block block)
Creates a new instance of this class.

Method Detail

run

public void run()
Method executed when the Thread is started.

Specified by:
run in interface java.lang.Runnable

resetLocalWeights

private void resetLocalWeights()
sets the local delta weights to 0


updateLocalWeights

private void updateLocalWeights()
adds the local delta weights to the net


parseWeights

private void parseWeights(java.io.BufferedReader br)
adds the delta weights form br to the local delta weights


computeError

private float computeError()

parseError

private void parseError(java.io.BufferedReader br)

parseData

public void parseData(java.io.BufferedReader br)

getBlock

public DistributedBackErrorPropagation getBlock()
returns the Block of this daemon