Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

LowDimensionalCostFunctionMapper.h

Go to the documentation of this file.
00001 // LowDimensionalCostFunctionMapper.h: interface for the CLowDimensionalCostFunctionMapper class.
00002 //
00004 
00005 #if !defined(AFX_LOWDIMENSIONALCOSTFUNCTIONMAPPER_H__5F61AB2F_FFB4_48BF_ABDB_620B14E4CEC4__INCLUDED_)
00006 #define AFX_LOWDIMENSIONALCOSTFUNCTIONMAPPER_H__5F61AB2F_FFB4_48BF_ABDB_620B14E4CEC4__INCLUDED_
00007 
00008 #if _MSC_VER > 1000
00009 #pragma once
00010 #endif // _MSC_VER > 1000
00011 
00012 #ifndef _WIN32
00013 using namespace std;
00014 #include <fstream>
00015 #else
00016 #include <fstream>
00017 #include <iostream>
00018 #endif
00019 
00020 #include "Minimizable.h"
00021 #include "ParameterFilter.h"
00022 #include "MatrixOperations.h"
00023 using namespace std;
00024 
00025 class CLowDimensionalCostFunctionMapper  
00026 {
00027 public:
00028         CLowDimensionalCostFunctionMapper();
00029         virtual ~CLowDimensionalCostFunctionMapper();
00030         // computes the cost along a line joining p1 and p2; (a,b) = (0,1) corresponds to 
00031         // the line segment starting at p1 and ending at p2
00032         void Map(Minimizable *pMin,CParameterFilter *pFilter, double *p1, double *p2, double a, double b, int nPts);
00033         // computes the cost in the plane formed by p1,p2,and p3. (a,b,c,d) = (0,1,0,1) 
00034         // corresponds to the quadrilateral with p1, p2, and p3 at three of the vertices
00035         void Map(Minimizable *pMin,CParameterFilter *pFilter, double *p1, double *p2, double *p3, double a, double b, double c, double d, int nPts);
00036 private:
00037         CMatrixOperations *m_pMO;
00038 };
00039 
00040 #endif // !defined(AFX_LOWDIMENSIONALCOSTFUNCTIONMAPPER_H__5F61AB2F_FFB4_48BF_ABDB_620B14E4CEC4__INCLUDED_)

Generated on Mon Nov 3 09:37:57 2003 by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002