Package com.neuralnetwork.shared.neurons

Examples of com.neuralnetwork.shared.neurons.IInputNeuron


   * .neurons.InputNeuron
   * #InputNeuron(com.neuralnetwork.shared.values.IValue)}.
   */
  @Test
  public final void testInputNeuronIValueOfQ() {
    IInputNeuron n = new InputNeuron(new OneValue());
    assertEquals(n.getType(), NeuronType.INPUT);
    assertEquals(n.getValue(), new OneValue());
  }
View Full Code Here


   * .shared.neurons.InputNeuron
   * #InputNeuron()}.
   */
  @Test
  public final void testInputNeuron() {
    IInputNeuron n = new InputNeuron();
    assertEquals(n.getType(), NeuronType.INPUT);
    assertEquals(n.getValue(), new ZeroValue());
  }
View Full Code Here

   * .shared.neurons.InputNeuron
   * #toString()}.
   */
  @Test
  public final void testToString() {
    IInputNeuron n = new InputNeuron();
    assertEquals(n.toString(), "IN(0.0) ");
  }
View Full Code Here

TOP

Related Classes of com.neuralnetwork.shared.neurons.IInputNeuron

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.