@@ -0,0 +1,2306 @@
+package com.digiburo.backprop1b.network;%0A%0A/**%0A * Abstract parent for nodes%0A */%0Aimport java.util.ArrayList;%0Aimport java.util.Iterator;%0A%0A/**%0A * Abstract parent for nodes%0A * %0A */%0Apublic abstract class AbstractNode extends AbstractArcNode %7B%0A%0A%09/**%0A     * Return node error term%0A     * %0A     * @return node error term%0A     */%0A    public double getError() %7B%0A    %09return(error);%0A    %7D%0A    %0A    /**%0A     * Define node error term%0A     * %0A     * @param arg new error term%0A     */%0A    public void setError(double arg) %7B%0A    %09error = arg;%0A    %7D%0A    %0A    /**%0A     * Return node value%0A     * %0A     * @return node value%0A     */%0A    public double getValue() %7B%0A    %09return(value);%0A    %7D%0A    %0A    /**%0A     * Define node value%0A     * %0A     * @param arg new node value%0A     */%0A    public void setValue(double arg) %7B%0A    %09value = arg;%0A    %7D%0A    %0A    /**%0A     * Connect to another node via an arc%0A     * %0A     * @param destination node%0A     * @param arc to connect with%0A     */%0A    public void connect(AbstractNode destination, Arc arc) %7B%0A    %09output_arcs.add(arc);%0A%09%0A    %09destination.input_arcs.add(arc);%0A%09%0A    %09arc.setInputNode(this);%0A    %09arc.setOutputNode(destination);%0A    %7D%0A    %0A    /**%0A     * What am I connected to?%0A     */%0A    public String dumpConnections() %7B%0A    %09String result = %22id:%22 + id;%0A%09%0A    %09result += %22:input:%22;%0A    %09Iterator%3CArc%3E ii = input_arcs.iterator();%0A    %09while (ii.hasNext()) %7B%0A    %09%09result += ii.next().toString() + %22:%22;%0A    %09%7D%0A%09%0A    %09result += %22output:%22;%0A    %09ii = output_arcs.iterator();%0A    %09while (ii.hasNext()) %7B%0A    %09%09result += ii.next().toString() + %22:%22;%0A    %09%7D%0A%09%0A    %09return(result);%0A    %7D%0A    %0A    /**%0A     * Return object state as a string%0A     * %0A     * @return object state as a string%0A     */%0A    public String toString() %7B%0A    %09return(id + %22 error:%22 + error + %22 value:%22 + value + %22 input:%22 + input_arcs.size() + %22 output:%22 + output_arcs.size());%0A    %7D%0A    %0A    /**%0A     * Error for this node%0A     */%0A    double error;%0A    %0A    /**%0A     * Value for this node%0A     */%0A    double value;%0A    %0A    /**%0A     * input arcs%0A     */%0A    ArrayList%3CArc%3E input_arcs = new ArrayList%3CArc%3E();%0A    %0A    /**%0A     * output arcs%0A     */%0A    ArrayList%3CArc%3E output_arcs = new ArrayList%3CArc%3E();%09%0A    %0A    /**%0A%09 * eclipse generated %0A%09 */%0A%09private static final long serialVersionUID = -8437051058370670157L;%0A%7D%0A%0A

Create AbstractNode.java