Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Selector Struct Reference

Select features from the TS vectors. More...

#include <examples.h>

Inheritance diagram for Selector:

Inheritance graph
[legend]
Collaboration diagram for Selector:

Collaboration graph
[legend]
List of all members.

Public Types

typedef std::vector< int > Selection
 At any place of selection, there can be number from the interval [- sourceTS.getOuputCount(); sourceTS.getInputCount()].


Public Member Functions

 Selector (Selection ins, Selection outs)
virtual void xform (const Vector &in1, const Vector &in1, Vector &out1, Vector &out2) const

Protected Attributes

Selection _ins
Selection _outs

Detailed Description

Select features from the TS vectors.


Member Typedef Documentation

typedef std::vector<int> Selection
 

At any place of selection, there can be number from the interval [- sourceTS.getOuputCount(); sourceTS.getInputCount()].

Examples: First vector from output: -1 second: -2 First vector from input: 0 second: 1 The results will be drawn from these features in given order. One index may be specified in this order.


Constructor & Destructor Documentation

Selector Selection  ins,
Selection  outs
[inline]
 


Member Function Documentation

virtual void xform const Vector in1,
const Vector in1,
Vector out1,
Vector out2
const [virtual]
 

Parameters:
out1,out2 are guaranted to be of get?Size() size. The function mustn't change the size.

Implements TSTransformer.


Member Data Documentation

Selection _ins [protected]
 

Selection _outs [protected]
 


The documentation for this struct was generated from the following file:
Generated on Fri Jun 18 13:19:21 2004 for Annie by doxygen 1.3.5