%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This file contains the configuration data to construct 
% an aggregate stream source.
%
% For the format of this file, please see  ~ File Format Description ~      
% at the end of the file.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%       File Data Starts Here            %%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

2			// integer ID
c_500			// string ID
1 			// number of streams
-1 			// number of tuples per stream: -1 for infinity

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Information for rate
% Interarrive time  
0 		// rate distribution type : CONSTANT (periodic rate)
1		// number of parameters

0 		// distribution type : CONSTANT
1 		// number of parameters
1		// parameter : Constant value

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Information for attributes
5 		// number of attibutes


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Attribute 1
% ticker_symbol 
0 		// data type : INTEGER
4		// data length 

4 		// distribution type : LINEAR

4 		// number of parameter distributions

% Parameter 1
% initial_value
0               // distribution type : CONSTANT
1               // number of parameters
1		// parameter : Constant value

% Parameter 2
% Step 
0               // distribution type : CONSTANT
1               // number of parameters
1		// parameter : Constant value

% Parameter 3
% Lower bound
0               // distribution type : CONSTANT
1               // number of parameters
1		// parameter : Constant value

% Parameter 4
% Upper bound
0               // distribution type : CONSTANT
1               // number of parameters
4		// parameter : Constant value


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Attribute 2
% timestamp 
0 		// data type : INTEGER
4		// data length 

7 		// distribution type : OTHER for timestamp 

0 		// number of parameter distributions

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Attribute 3
% feed 
3 		// data type : STRING
1		// data length 

0 		// distribution type : CONSTANT

1 		// number of parameter distributions

% Parameter 1
% 
0               // distribution type : CONSTANT
1               // number of parameters
0.03		// parameter : Constant value

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Attribute 4
% exchange 
3 		// data type : STRING
2		// data length 

4 		// distribution type : LINEAR

4 		// number of parameter distributions

% Parameter 1
% 
0               // distribution type : CONSTANT
1               // number of parameters
0.1401		// parameter : Constant value

% Parameter 2
% 
0               // distribution type : CONSTANT
1               // number of parameters
0.0024		// parameter : Constant value

% Parameter 3
% 
0               // distribution type : CONSTANT
1               // number of parameters
0.1401		// parameter : Constant value

% Parameter 4
% 
0               // distribution type : CONSTANT
1               // number of parameters
0.1426		// parameter : Constant value


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Attribute 5
% padding 
3 		// data type : STRING
100		// data length 

0 		// distribution type : CONSTANT

1 		// number of parameter distributions

% arameter 1
% constant value 
0               // distribution type : CONSTANT
1               // number of parameters
0		// parameter : Constant value

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%       ~ File Format Description ~      %%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This file contains the configuration data to construct 
% a aggregate stream source
%
% The format of this files are the following: 
%
% Aggregate Stream Interger ID
%    int 
%
% Aggregate Stream String ID
%    string 
%
% Number of Streams
%    int
%
% Number of Tuples
%    int  
%       n > 0 : for finite stream
%       n < 0 : for infinite stream
%
% Distribution Type For Rate 
%    int
%       0 : CONSTANT, 
%       1 : UNIFORM, 
%       2 : NORMAL, 
%       3 : EXPONENTIAL,
%       4 : LINEAR,
%       5 : RANDOMWALK,
%       6 : RANDOMDIRECTIONWALK,
%       7 : OTHER
%
% Number of Papameters        // Each distribution has some parameters, 
%                             // they are also specified by distribution.  
%                             // This numbers must be consistant with 
%                             // the distibutiong type
%    int (m)
%       1 : CONSTANT, 
%       2 : UNIFORM, 
%       2 : NORMAL, 
%       1 : EXPONENTIAL,
%       4 : LINEAR,
%       5 : RANDOMWALK,
%       5 : RANDOMDIRECTIONWALK,
%       0 : OTHER
% -------------------------------------------------------------------------- 
% - This part is just description. Not part of the file format
% - Parameters for each distribution:
% -  CONSTANT	: constant_value
% -  UNIFORM	: lower_bound, upper_bound
% -  NORMAL	: mean, standard_deviation
% -  EXPONENTIAL: mean
% -  LINEAR	: initial_value, step, lower_bound, upper_bound
% -  RANDOMWALK	: initial_value, step, probability, lower_bound, upper_bound
% -  RANDOMDIRECTIONWALK: initial_value, step, probability, 
% -                     :  lower_bound, upper_bound  
% ---------------------------------------------------------------------------
% 
% Entries for Parameters Distribution. // There will be several entries
% (
%  Distribution Type 
%    int
%  Number of Parameters
%    int (n)
%  Parameters 
%    int * n           // int * n means n integers
% ) * m                // m entries
%
% Number of Attributes 
%    int (k)
% 
% Entries of Attribute
% (
%  Data Type
%     int
%        0 : INTEGER
%        1 : FLOAT
%        2 : DOUBLE
%        3 : STRING
%
%  Data Type Length (The first three types are not used in the program)
%     4 : INTEGER
%     4 : FLOAT
%     8 : DOUBLE
%     n : STRING
%
%  Distribution Type
%     int
%  
%  Number of Parameters
%     int (n)
%
%  Parameters 
%    int * n           // int * n means n integers
% ) * k
%  
%  
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


