95
CNKProcPrintf
The
CNKProcPrintf proc prints information about each block of data.
It prints the position of the block in the data, the number of rows, the
number of columns, and the data values for the first few rows in the
block. The number of rows printed can be specified, with the default
of 2.
CNKProcPrintf()::
CNKProcPrintf();
virtual ~CNKProcPrintf();
virtual void init();
virtual void execute();
These are the constructor, destructor, and init() methods. The
execute() method is run when this CNKProc is executed within a
pipeline.
CNKProcPrintf()::
virtual void setProperty(CNKPropertyInfo* propInfo);
virtual void getProperty(CNKPropertyInfo* propInfo);
These methods can be used to get and set the “num.to.print”
property, which determines how many rows are printed per block.
CNKProcRandomReader : Random Data Creation Proc
This proc has a single output buf, to which it writes a specified
number of rows of random numbers, from a uniform distribution
from 0.0 to 1.0. This can be useful as a source of data for testing new
pipelines.
The number of columns to be generated is specified by outbuf. If a
column in the output buffer has the type "factor", then the values
generated for that column will be randomly chosen from the five
levels "lev1", "lev2", ..., "lev5".
CNKProcRandomReader::
CNKProcRandomReader();
virtual ~CNKProcRandomReader();
virtual void init();
virtual void execute();
Commentaires sur ces manuels