#include <XFileDataSet.h>
A DataSet that reads data from an XFile. 
 
      
        
          | XFileDataSet::XFileDataSet  | 
          ( | 
          XFile *  | 
          file | ) | 
           | 
        
      
 
 
  
  
      
        
          | XFileDataSet::~XFileDataSet  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
  
  
      
        
          | void XFileDataSet::init  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
To be called before training. Should allocate example, among other things. Default version allocates example to the size of dim. 
Reimplemented from DataSet.
Reimplemented in DiskXFileDataSet.
 
 
  
  
      
        
          | void XFileDataSet::reset  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
  
  
      
        
          | void XFileDataSet::setExample  | 
          ( | 
          int  | 
          t | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
      
        
          | int XFileDataSet::_currentExampleIndex | 
        
      
 
The index of the current example (internal use). 
 
 
      
        
          | XFile* XFileDataSet::_file | 
        
      
 
The file (XFile) that stores the dataset. 
 
 
The documentation for this class was generated from the following files: