net.sourceforge.cilib.neuralnetwork.generic.datacontainers
Class StandardPattern
java.lang.Object
net.sourceforge.cilib.neuralnetwork.generic.datacontainers.StandardPattern
- All Implemented Interfaces:
- Serializable, Initializable, NNPattern, Cloneable
public class StandardPattern
- extends Object
- implements NNPattern, Initializable
- Author:
- stefanv
- See Also:
- Serialized Form
input
protected Vector input
target
protected Vector target
StandardPattern
public StandardPattern()
StandardPattern
public StandardPattern(Vector input,
Vector target)
initialize
public void initialize()
- Specified by:
initialize
in interface Initializable
getInput
public Vector getInput()
- Specified by:
getInput
in interface NNPattern
getInputLength
public int getInputLength()
- Specified by:
getInputLength
in interface NNPattern
getTargetLength
public int getTargetLength()
- Specified by:
getTargetLength
in interface NNPattern
getTarget
public Vector getTarget()
- Specified by:
getTarget
in interface NNPattern
getClone
public NNPattern getClone()
- Description copied from interface:
Cloneable
- Create a cloned copy of the current object and return it. In general
the created copy will be a deep copy of the provided instance. As
a result this operation an be quite expensive if used incorrectly.
- Specified by:
getClone
in interface NNPattern
- Specified by:
getClone
in interface Cloneable
- Returns:
- An exact clone of the current object instance.
- See Also:
Object.clone()
toString
public String toString()
- Overrides:
toString
in class Object
setInput
public void setInput(Vector input)
- Specified by:
setInput
in interface NNPattern
setTarget
public void setTarget(Vector target)
- Specified by:
setTarget
in interface NNPattern
Copyright © 2009 CIRG. All Rights Reserved.