@@ -0,0 +1,1622 @@
+/**%0A * (C) Copyright 2014 David Clutter (cluttered.code@gmail.com).%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage com.clutteredcode.ann;%0A%0Aimport java.util.List;%0A%0A/**%0A * @author cluttered.code@gmail.com%0A */%0Apublic class FeedForwardInputLayer extends FeedForwardLayer %7B%0A    /**%0A     * Complete Constructor creates a %7B@code FeedForwardLayer%7D instance with the specified parameters.%0A     *%0A     * @param neurons The %7B@link com.clutteredcode.ann.Neuron%7D objects in this %7B@code FeedForwardLayer%7D.%0A     */%0A    public FeedForwardInputLayer(final List%3CNeuron%3E neurons) %7B%0A        super(neurons);%0A    %7D%0A%0A    /**%0A     * Returns the outputs of the %7B@code fire()%7D method of each %7B@link com.clutteredcode.ann.Neuron%7D.%0A     *%0A     * @param inputs The inputs being fed to this %7B@code FeedForwardLayer%7D.%0A     * @return The outputs.%0A     */%0A    @Override%0A    public double%5B%5D fire(final double%5B%5D inputs) %7B%0A        final double%5B%5D outputs = new double%5Bneurons.size()%5D;%0A%0A        for(int i = 0; i %3C inputs.length; ++i)%0A            outputs%5Bi%5D = neurons.get(i).fire(new double%5B%5D%7Binputs%5Bi%5D%7D);%0A%0A        return outputs;%0A    %7D%0A%7D

Add FeedForwardInputLayer