net.openai.ai.nn.training
Class TrainingElement

java.lang.Object
  |
  +--net.openai.ai.nn.training.TrainingElement
All Implemented Interfaces:
java.io.Serializable

public class TrainingElement
extends java.lang.Object
implements java.io.Serializable

A single TrainingElement

Version:
$Id: TrainingElement.java,v 1.5 2002/02/19 22:04:38 tweber Exp $ History:
$Log: TrainingElement.java,v $
Revision 1.5 2002/02/19 22:04:38 tweber
Class head commented.
Author:
Gleo
See Also:
Serialized Form

Constructor Summary
TrainingElement()
          Constructor declaration
TrainingElement(java.util.Vector input, java.util.Vector desired)
          Constructor declaration
 
Method Summary
 java.util.Vector getDesired()
          Returns the desired values for this element
 java.util.Vector getInput()
          Returns the input values for this element
 java.util.Vector getOutput()
          Returns the current output values for this element
 void setDesired(java.util.Vector desired)
          Sets the desired values for this element
 void setInput(java.util.Vector input)
          Sets the input values for this element
 void setOutput(java.util.Vector output)
          Sets the output values for this element
 java.lang.String toString()
          Returns a string representation of the training element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TrainingElement

public TrainingElement()
Constructor declaration

See Also:

TrainingElement

public TrainingElement(java.util.Vector input,
                       java.util.Vector desired)
Constructor declaration

Parameters:
input -
desired -
See Also:
Method Detail

getInput

public java.util.Vector getInput()
Returns the input values for this element

Returns:
Vector input values.

setInput

public void setInput(java.util.Vector input)
Sets the input values for this element


getDesired

public java.util.Vector getDesired()
Returns the desired values for this element

Returns:
Vector desired values.

setDesired

public void setDesired(java.util.Vector desired)
Sets the desired values for this element


getOutput

public java.util.Vector getOutput()
Returns the current output values for this element

Returns:
Vector input values.

setOutput

public void setOutput(java.util.Vector output)
Sets the output values for this element


toString

public java.lang.String toString()
Returns a string representation of the training element.

Overrides:
toString in class java.lang.Object
Returns:
String String representation.


Copyright - 2001 OpenAI Labs. All Rights Reserved.