00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef BIPARTITEFUNCTIONORACLE_H_
00014 #define BIPARTITEFUNCTIONORACLE_H_
00015
00016 #include "WeightOracle.h"
00017 #include "WeightFunction.h"
00018
00028 class BipartiteFunctionOracle: public WeightOracle {
00029 public:
00030
00039 BipartiteFunctionOracle(double **dataX, double **dataY, WeightFunction *wf, int r, int c, int d);
00040 virtual ~BipartiteFunctionOracle();
00041
00046 int getSize();
00047
00052 double computeWeight(int row, int col);
00053
00054 private:
00055 WeightFunction * weightFunction;
00056 int rows;
00057 int cols;
00058 int dimension;
00059 double ** X;
00060 double ** Y;
00061
00062 };
00063
00064 #endif