net.sourceforge.cilib.neuralnetwork.generic.datacontainers
Class StandardPattern

java.lang.Object
  extended by 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

Field Summary
protected  Vector input
           
protected  Vector target
           
 
Constructor Summary
StandardPattern()
           
StandardPattern(Vector input, Vector target)
           
 
Method Summary
 NNPattern getClone()
          Create a cloned copy of the current object and return it.
 Vector getInput()
           
 int getInputLength()
           
 Vector getTarget()
           
 int getTargetLength()
           
 void initialize()
           
 void setInput(Vector input)
           
 void setTarget(Vector target)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

input

protected Vector input

target

protected Vector target
Constructor Detail

StandardPattern

public StandardPattern()

StandardPattern

public StandardPattern(Vector input,
                       Vector target)
Method Detail

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.