mageec  0.1.0
MAchine Guided Energy Efficient Compilation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions | Variables
getdata.c File Reference
#include "defns.i"
#include "extern.i"

Go to the source code of this file.

Macros

#define Inc   2048
 
#define XError(a, b, c)   if (! SuppressErrorMessages) Error(a,b,c)
 

Functions

void GetData (FILE *Df, Boolean Train, Boolean AllowUnknownClass)
 
DataRec GetDataRec (FILE *Df, Boolean Train)
 
CaseNo CountData (FILE *Df)
 
int StoreIVal (String S)
 
void FreeData ()
 
void CheckValue (DataRec DVec, Attribute Att)
 

Variables

Boolean SuppressErrorMessages =false
 
CaseNo SampleFrom
 

Macro Definition Documentation

#define Inc   2048

Definition at line 39 of file getdata.c.

#define XError (   a,
  b,
 
)    if (! SuppressErrorMessages) Error(a,b,c)

Definition at line 42 of file getdata.c.

Function Documentation

void CheckValue ( DataRec  DVec,
Attribute  Att 
)

Definition at line 509 of file getdata.c.

CaseNo CountData ( FILE *  Df)

Definition at line 402 of file getdata.c.

void FreeData ( )

Definition at line 487 of file getdata.c.

void GetData ( FILE *  Df,
Boolean  Train,
Boolean  AllowUnknownClass 
)

Definition at line 58 of file getdata.c.

DataRec GetDataRec ( FILE *  Df,
Boolean  Train 
)

Definition at line 180 of file getdata.c.

int StoreIVal ( String  S)

Definition at line 452 of file getdata.c.

Variable Documentation

CaseNo SampleFrom

Definition at line 44 of file getdata.c.

Boolean SuppressErrorMessages =false

Definition at line 41 of file getdata.c.