Changeset 747


Ignore:
Timestamp:
Feb 11, 2007, 2:26:41 PM (17 years ago)
Author:
Peter
Message:

replaced includes in header files with forward declarations when possible. Added some includes in cc files.

Location:
trunk
Files:
24 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/score_test.cc

    r724 r747  
    2222*/
    2323
     24#include "yat/classifier/Target.h"
    2425#include "yat/statistics/FoldChange.h"
    2526#include "yat/statistics/Pearson.h"
  • trunk/test/svm_test.cc

    r680 r747  
    2828#include "yat/classifier/Kernel_MEV.h"
    2929#include "yat/classifier/PolynomialKernelFunction.h"
     30#include "yat/classifier/Target.h"
    3031#include "yat/utility/matrix.h"
    3132#include "yat/utility/vector.h"
  • trunk/yat/classifier/DataLookup1D.h

    r720 r747  
    2525*/
    2626
    27 #include "DataLookup2D.h"
    28 
    2927#include <cassert>
    3028#include <iostream>
     
    3432namespace yat {
    3533namespace classifier { 
     34
     35  class DataLookup2D;
    3636
    3737  ///
  • trunk/yat/classifier/DataLookupWeighted1D.h

    r720 r747  
    2525*/
    2626
    27 #include "MatrixLookupWeighted.h"
    28 
    2927#include <iostream>
    3028#include <vector>
     
    3331namespace yat {
    3432namespace classifier { 
     33
     34  class MatrixLookupWeighted;
    3535
    3636  ///
  • trunk/yat/classifier/FeatureSelectorIR.cc

    r680 r747  
    2626#include "MatrixLookup.h"
    2727#include "InputRanker.h"
     28#include "Target.h"
    2829
    2930#include <algorithm>
  • trunk/yat/classifier/FeatureSelectorIR.h

    r680 r747  
    2727#include "FeatureSelector.h"
    2828
    29 #include "yat/statistics/Score.h"
    30 
    3129namespace theplu {
    3230namespace yat {
     31namespace statistics {
     32  class Score;
     33}
    3334namespace classifier {
    3435
  • trunk/yat/classifier/GaussianKernelFunction.h

    r680 r747  
    2626
    2727#include "KernelFunction.h"
    28 #include "DataLookup1D.h"
    2928
    3029#include <cmath>
     
    3332namespace yat {
    3433namespace classifier {
     34
     35  class DataLookup1D;
    3536
    3637  ///
  • trunk/yat/classifier/Kernel.cc

    r720 r747  
    2727#include "KernelFunction.h"
    2828#include "MatrixLookup.h"
     29#include "MatrixLookupWeighted.h"
    2930
    3031#include <vector>
  • trunk/yat/classifier/Kernel.h

    r746 r747  
    2525*/
    2626
    27 #include "DataLookup2D.h"
    2827#include "KernelFunction.h"
    29 #include "MatrixLookupWeighted.h"
    3028
    3129#include <cctype>
     
    3634namespace classifier {
    3735
     36  class DataLookup2D;
    3837  class MatrixLookup;
     38  class MatrixLookupWeighted;
    3939
    4040  ///
  • trunk/yat/classifier/Kernel_MEV.h

    r746 r747  
    2525*/
    2626
    27 #include "DataLookup1D.h"
    2827#include "Kernel.h"
    2928#include "KernelFunction.h"
  • trunk/yat/classifier/PolynomialKernelFunction.h

    r680 r747  
    2626
    2727#include "KernelFunction.h"
    28 #include "DataLookup1D.h"
    2928
    3029#include <cmath>
     
    3332namespace yat {
    3433namespace classifier {
     34
     35  class DataLookup1D;
    3536
    3637  ///
  • trunk/yat/classifier/SVM.cc

    r722 r747  
    2424#include "SVM.h"
    2525#include "DataLookup2D.h"
     26#include "Target.h"
    2627#include "yat/random/random.h"
    2728#include "yat/statistics/Averager.h"
  • trunk/yat/classifier/SVM.h

    r722 r747  
    2828#include "SupervisedClassifier.h"
    2929#include "SVindex.h"
    30 #include "Target.h"
    3130#include "yat/utility/vector.h"
    3231
     
    3938
    4039  class DataLookup2D;
     40  class Target;
     41
    4142  ///
    4243  /// @brief Support Vector Machine
  • trunk/yat/microarray/DataSet.h

    r720 r747  
    2626
    2727#include "yat/classifier/MatrixLookup.h"
    28 #include "yat/classifier/Target.h"
    2928
    3029#include <map>
     
    3433namespace theplu {
    3534namespace yat {
     35namespace classifier {
     36  class Target;
     37}
    3638namespace microarray {
    3739
  • trunk/yat/regression/Local.h

    r726 r747  
    2525*/
    2626
    27 #include "Kernel.h"
    28 #include "OneDimensionalWeighted.h"
    2927#include "yat/utility/vector.h"
    3028
     
    3432namespace yat {
    3533namespace regression {
     34
     35  class Kernel;
     36  class OneDimensionalWeighted;
    3637
    3738  ///
  • trunk/yat/regression/Polynomial.h

    r729 r747  
    2727#include "OneDimensional.h"
    2828#include "MultiDimensional.h"
    29 #include "yat/utility/vector.h"
    3029
    3130namespace theplu {
    3231namespace yat {
     32namespace utility {
     33  class vector;
     34}
    3335namespace regression {
    3436
  • trunk/yat/statistics/Fisher.h

    r718 r747  
    2626
    2727#include "Score.h"
    28 #include "yat/utility/vector.h"
     28
     29#include <sys/types.h>
    2930
    3031#include <cmath>
     
    3233namespace theplu {
    3334namespace yat {
     35namespace utility {
     36  class vector;
     37}
    3438namespace statistics { 
    3539  /**
  • trunk/yat/statistics/FoldChange.cc

    r683 r747  
    2828#include "yat/classifier/DataLookupWeighted1D.h"
    2929#include "yat/classifier/Target.h"
     30#include "yat/utility/vector.h"
    3031
    3132namespace theplu {
  • trunk/yat/statistics/ROC.cc

    r718 r747  
    2424#include "ROC.h"
    2525#include "yat/classifier/DataLookupWeighted1D.h"
     26#include "yat/classifier/Target.h"
    2627#include "yat/utility/stl_utility.h"
    2728#include "yat/utility/vector.h"
  • trunk/yat/statistics/ROC.h

    r718 r747  
    2626
    2727#include "Score.h"
    28 #include "yat/classifier/Target.h"
    2928
    3029#include <utility>
     
    3332namespace theplu {
    3433namespace yat {
    35   namespace utility {
    36     class vector;
    37   }
     34namespace classifier {
     35  class Target;
     36}
     37namespace utility {
     38  class vector;
     39}
    3840namespace statistics { 
    3941
  • trunk/yat/statistics/SNR.cc

    r683 r747  
    2727#include "yat/classifier/DataLookupWeighted1D.h"
    2828#include "yat/classifier/Target.h"
     29#include "yat/utility/vector.h"
    2930
    3031namespace theplu {
  • trunk/yat/statistics/Score.cc

    r718 r747  
    2323
    2424#include "Score.h"
     25
     26#include "yat/classifier/DataLookup1D.h"
     27#include "yat/classifier/Target.h"
     28#include "yat/classifier/utility.h"
     29#include "yat/utility/vector.h"
     30
    2531
    2632namespace theplu {
  • trunk/yat/statistics/Score.h

    r718 r747  
    2525*/
    2626
    27 #include "yat/classifier/utility.h"
    28 #include "yat/utility/vector.h"
    29 
    3027#include <cassert>
    31 #ifndef NDEGUG
    32 #include "yat/classifier/Target.h"
    33 #include "yat/classifier/DataLookup1D.h"
    34 #endif
    3528
    3629namespace theplu {
     
    4134  class DataLookupWeighted1D;
    4235}
    43 
     36namespace utility {
     37  class vector;
     38}
    4439namespace statistics {
    4540
  • trunk/yat/statistics/tScore.cc

    r680 r747  
    2727#include "yat/classifier/DataLookupWeighted1D.h"
    2828#include "yat/classifier/Target.h"
     29#include "yat/utility/vector.h"
    2930
    3031#include <cassert>
Note: See TracChangeset for help on using the changeset viewer.