GClasses

GClasses::GTwoWayTransformChainer Class Reference

This wraps two two-way-incremental-transoforms to form a single combination transform. More...

#include <GTransform.h>

Inheritance diagram for GClasses::GTwoWayTransformChainer:
GClasses::GTwoWayIncrementalTransform GClasses::GIncrementalTransform GClasses::GTransform

List of all members.

Public Member Functions

 GTwoWayTransformChainer (GTwoWayIncrementalTransform *pFirst, GTwoWayIncrementalTransform *pSecond)
 General-purpose constructor.
 GTwoWayTransformChainer (GDomNode *pNode, GLearnerLoader &ll)
 Deserializing constructor.
virtual ~GTwoWayTransformChainer ()
virtual GDomNodeserialize (GDom *pDoc)
 See the comment for GTwoWayIncrementalTransform::serialize.
virtual void train (GMatrix &data)
 See the comment for GTwoWayIncrementalTransform::train.
virtual void transform (const double *pIn, double *pOut)
 See the comment for GTwoWayIncrementalTransform::transform.
virtual void untransform (const double *pIn, double *pOut)
 See the comment for GTwoWayIncrementalTransform::untransform.
virtual void untransformToDistribution (const double *pIn, GPrediction *pOut)
 See the comment for GTwoWayIncrementalTransform::untransformToDistribution.

Protected Attributes

GTwoWayIncrementalTransformm_pFirst
GTwoWayIncrementalTransformm_pSecond

Detailed Description

This wraps two two-way-incremental-transoforms to form a single combination transform.


Constructor & Destructor Documentation

GClasses::GTwoWayTransformChainer::GTwoWayTransformChainer ( GTwoWayIncrementalTransform pFirst,
GTwoWayIncrementalTransform pSecond 
)

General-purpose constructor.

GClasses::GTwoWayTransformChainer::GTwoWayTransformChainer ( GDomNode pNode,
GLearnerLoader ll 
)

Deserializing constructor.

virtual GClasses::GTwoWayTransformChainer::~GTwoWayTransformChainer ( ) [virtual]

Member Function Documentation

virtual GDomNode* GClasses::GTwoWayTransformChainer::serialize ( GDom pDoc) [virtual]
virtual void GClasses::GTwoWayTransformChainer::train ( GMatrix data) [virtual]
virtual void GClasses::GTwoWayTransformChainer::transform ( const double *  pIn,
double *  pOut 
) [virtual]
virtual void GClasses::GTwoWayTransformChainer::untransform ( const double *  pIn,
double *  pOut 
) [virtual]
virtual void GClasses::GTwoWayTransformChainer::untransformToDistribution ( const double *  pIn,
GPrediction pOut 
) [virtual]

Member Data Documentation