Changeset 757 for trunk/yat/classifier


Ignore:
Timestamp:
Feb 19, 2007, 7:51:31 PM (14 years ago)
Author:
Jari Häkkinen
Message:

Fixed #include statemenst and forward declarations. asserts in headers removed.

Location:
trunk/yat/classifier
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/classifier/DataLookup1D.h

    r747 r757  
    2525*/
    2626
    27 #include <cassert>
    2827#include <iostream>
    29 #include <vector>
    3028
    3129namespace theplu {
  • trunk/yat/classifier/KernelLookup.cc

    r746 r757  
    2626#include "MatrixLookup.h"
    2727#include "MatrixLookupWeighted.h"
     28#include "../utility/matrix.h"
    2829
    2930#include <cassert>
  • trunk/yat/classifier/MatrixLookup.h

    r720 r757  
    2626
    2727#include "DataLookup2D.h"
    28 #include "yat/utility/matrix.h"
    29 
    30 #include <cassert>
     28
     29#include <iostream>
     30#include <vector>
    3131
    3232namespace theplu {
    3333namespace yat {
     34
     35namespace utility {
     36  class matrix;
     37}
     38
    3439namespace classifier { 
    3540
  • trunk/yat/classifier/MatrixLookupWeighted.h

    r746 r757  
    2626
    2727#include "DataLookup2D.h"
    28 #include "yat/utility/matrix.h"
    29 
    30 #include <cassert>
     28
     29#include <iostream>
     30#include <vector>
    3131
    3232namespace theplu {
    3333namespace yat {
     34
     35namespace utility {
     36  class matrix;
     37}
     38
    3439namespace classifier { 
    3540
  • trunk/yat/classifier/SVindex.h

    r714 r757  
    2525*/
    2626
    27 #include "yat/utility/vector.h"
    28 
    29 #include <cassert>
    3027#include <vector>
    3128
    3229namespace theplu {
    3330namespace yat {
     31
     32namespace utility {
     33  class vector;
     34}
     35
    3436namespace classifier { 
    3537
  • trunk/yat/classifier/Target.h

    r745 r757  
    2727#include "yat/utility/Exception.h"
    2828
    29 #include <cassert>
    3029#include <iosfwd>
    3130#include <map>
     31#include <stdexcept>
    3232#include <string>
    3333#include <vector>
Note: See TracChangeset for help on using the changeset viewer.