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

Quick Search    Search Deep

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

java.lang.Object
  extended bySynapsim.blocks.ai.NeuralNetworks.DistributedBackErrorPropagationMasterTask
All Implemented Interfaces:
java.lang.Runnable

public class DistributedBackErrorPropagationMasterTask
extends java.lang.Object
implements java.lang.Runnable


Field Summary
static int CONTINUE
           
protected  DistributedBackErrorPropagationDaemon daemon
           
static int DEFAULT_SLAVE_PORT
           
protected  int endPatternIndex
           
protected  java.lang.String hostname
           
private  boolean kill
           
static int KILL
           
protected  java.lang.Object lock
           
private  AI.NeuralNetworks.FeedForwardNetwork net
           
protected  boolean newNet
           
protected  java.lang.String patternsFile
           
protected  java.net.Socket sock
           
protected  int startPatternIndex
           
 
Constructor Summary
DistributedBackErrorPropagationMasterTask(java.lang.String hostname, int startPatternIndex, int endPatternIndex, DistributedBackErrorPropagationDaemon daemon)
           
 
Method Summary
private  void init()
           
 void killThread()
           
 void run()
          This method will be called by whoever wishes to run your class implementing Runnable.
private  void sendNet()
           
private  void sendSignal(int signal)
           
 void setNet(AI.NeuralNetworks.FeedForwardNetwork net)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_SLAVE_PORT

public static final int DEFAULT_SLAVE_PORT
See Also:
Constant Field Values

KILL

public static final int KILL
See Also:
Constant Field Values

CONTINUE

public static final int CONTINUE
See Also:
Constant Field Values

hostname

protected java.lang.String hostname

daemon

protected DistributedBackErrorPropagationDaemon daemon

startPatternIndex

protected int startPatternIndex

endPatternIndex

protected int endPatternIndex

net

private AI.NeuralNetworks.FeedForwardNetwork net

lock

protected java.lang.Object lock

sock

protected java.net.Socket sock

patternsFile

protected java.lang.String patternsFile

newNet

protected boolean newNet

kill

private boolean kill
Constructor Detail

DistributedBackErrorPropagationMasterTask

public DistributedBackErrorPropagationMasterTask(java.lang.String hostname,
                                                 int startPatternIndex,
                                                 int endPatternIndex,
                                                 DistributedBackErrorPropagationDaemon daemon)
Method Detail

run

public void run()
Description copied from interface: java.lang.Runnable
This method will be called by whoever wishes to run your class implementing Runnable. Note that there are no restrictions on what you are allowed to do in the run method, except that you cannot throw a checked exception.

Specified by:
run in interface java.lang.Runnable

sendNet

private void sendNet()

sendSignal

private void sendSignal(int signal)

setNet

public void setNet(AI.NeuralNetworks.FeedForwardNetwork net)

killThread

public void killThread()

init

private void init()