Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

CompareHistogram.h

00001 
00002 #include <LEDA/d_array.h>
00003 #include <LEDA/graph_alg.h>
00004 
00005 #define _STANDARD_
00006 #define use_namespace
00007 #include <newmatap.h>                // need matrix applications
00008 #include <newmatio.h>                // need matrix output routines
00009 
00010 #define Matrix NEWMAT::Matrix
00011 #define ColumnVector NEWMAT::ColumnVector
00012 
00013 using namespace leda;
00014 
00024 double CompareHistograms(const SmartArray<double>, const SmartArray<double>,
00025                                 const SmartArray<double>, const SmartArray<double>);
00026 
00027 
00028 Matrix GetGraph(graph&, node_array <double>&, node_array <int>&,
00029                 const SmartArray<double>, const SmartArray<double>);
00030 
00031 
00036 double vector_dist( ColumnVector **v1, ColumnVector **v2 );
00037 
00042 void normalize_weights( double weight[], int nv, double normed_weight[] );
00043 
00044 
00052 void normalize_column_vectors( ColumnVector *mcol[], int nc,
00053                 double normed_weight[], ColumnVector &mu, double &sigma );
00054 
00060 double least_squares_estimation(
00061                 d_array <int, ColumnVector *> &X, d_array <int, ColumnVector *> &Y,
00062                 d_array <int, double> &normed_weight );
00063 
00064 
00065 
00066 
00067 

Generated on Sat Nov 13 11:21:21 2004 for Noisy DAG Matcher by doxygen1.2.18