00001 /* 00002 * This program is free software; you can redistribute it and/or modify 00003 * it under the terms of the GNU General Public License as published by 00004 * the Free Software Foundation; either version 3 of the License, or 00005 * (at your option) any later version. 00006 * 00007 * Written (W) 2011 Shashwat Lal Das 00008 * Copyright (C) 2011 Berlin Institute of Technology and Max-Planck-Society 00009 */ 00010 #include <shogun/io/StreamingFileFromFeatures.h> 00011 00012 using namespace shogun; 00013 00014 CStreamingFileFromFeatures::CStreamingFileFromFeatures() 00015 : CStreamingFile() 00016 { 00017 features=NULL; 00018 labels=NULL; 00019 } 00020 00021 CStreamingFileFromFeatures::CStreamingFileFromFeatures(CFeatures* feat) 00022 : CStreamingFile() 00023 { 00024 features=feat; 00025 labels=NULL; 00026 } 00027 00028 CStreamingFileFromFeatures::CStreamingFileFromFeatures(CFeatures* feat, float64_t* lab) 00029 : CStreamingFile() 00030 { 00031 features=feat; 00032 labels=lab; 00033 } 00034 00035 CStreamingFileFromFeatures::~CStreamingFileFromFeatures() 00036 { 00037 features=NULL; 00038 labels=NULL; 00039 }