Package com.neuralnetwork.shared.neurons

Examples of com.neuralnetwork.shared.neurons.AbstractInputNeuron


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


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

TOP

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

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.