- Timestamp:
- Feb 19, 2007, 7:51:31 PM (16 years ago)
- Location:
- trunk/yat
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/classifier/DataLookup1D.h
r747 r757 25 25 */ 26 26 27 #include <cassert>28 27 #include <iostream> 29 #include <vector>30 28 31 29 namespace theplu { -
trunk/yat/classifier/KernelLookup.cc
r746 r757 26 26 #include "MatrixLookup.h" 27 27 #include "MatrixLookupWeighted.h" 28 #include "../utility/matrix.h" 28 29 29 30 #include <cassert> -
trunk/yat/classifier/MatrixLookup.h
r720 r757 26 26 27 27 #include "DataLookup2D.h" 28 #include "yat/utility/matrix.h" 29 30 #include < cassert>28 29 #include <iostream> 30 #include <vector> 31 31 32 32 namespace theplu { 33 33 namespace yat { 34 35 namespace utility { 36 class matrix; 37 } 38 34 39 namespace classifier { 35 40 -
trunk/yat/classifier/MatrixLookupWeighted.h
r746 r757 26 26 27 27 #include "DataLookup2D.h" 28 #include "yat/utility/matrix.h" 29 30 #include < cassert>28 29 #include <iostream> 30 #include <vector> 31 31 32 32 namespace theplu { 33 33 namespace yat { 34 35 namespace utility { 36 class matrix; 37 } 38 34 39 namespace classifier { 35 40 -
trunk/yat/classifier/SVindex.h
r714 r757 25 25 */ 26 26 27 #include "yat/utility/vector.h"28 29 #include <cassert>30 27 #include <vector> 31 28 32 29 namespace theplu { 33 30 namespace yat { 31 32 namespace utility { 33 class vector; 34 } 35 34 36 namespace classifier { 35 37 -
trunk/yat/classifier/Target.h
r745 r757 27 27 #include "yat/utility/Exception.h" 28 28 29 #include <cassert>30 29 #include <iosfwd> 31 30 #include <map> 31 #include <stdexcept> 32 32 #include <string> 33 33 #include <vector> -
trunk/yat/regression/PolynomialWeighted.h
r742 r757 28 28 #include "MultiDimensionalWeighted.h" 29 29 #include "yat/utility/vector.h" 30 31 #include <cassert>32 30 33 31 namespace theplu { -
trunk/yat/statistics/AveragerPair.h
r720 r757 27 27 #include "Averager.h" 28 28 29 #include <cassert>30 29 #include <cmath> 31 30 #include <utility> … … 166 165 void AveragerPair::add_values(const T1& x, const T2& y) 167 166 { 168 assert(x.size()==y.size());169 167 for (size_t i=0; i<x.size(); i++) 170 168 add(x[i],y[i]); -
trunk/yat/statistics/AveragerWeighted.h
r756 r757 27 27 #include "Averager.h" 28 28 29 #include <cassert>30 29 #include <cmath> 31 30 … … 222 221 void AveragerWeighted::add_values(const T1& x, const T2& w) 223 222 { 224 assert(x.size()==w.size());225 223 for (size_t i=0; i<x.size(); i++) 226 224 add(x[i],w[i]); -
trunk/yat/statistics/Score.h
r747 r757 24 24 02111-1307, USA. 25 25 */ 26 27 #include <cassert>28 26 29 27 namespace theplu { -
trunk/yat/statistics/utility.h
r718 r757 28 28 29 29 #include <algorithm> 30 #include <cassert>31 30 #include <cmath> 32 31 #include <vector> … … 135 134 const bool sorted=false) 136 135 { 137 assert(!(p>100 && p<0));138 136 if (sorted){ 139 137 if (p>=100)
Note: See TracChangeset
for help on using the changeset viewer.