View on GitHub

StreamPrefGen

Dataset generator with Temporal Conditional Preferences for StreamPref DSMS prototype.

Download this project as a .zip file Download this project as a tar.gz file

Table of Contents

Introduction

StreamPrefGen is a dataset generator for evaluation of the operators of the StreamPref query language. The operators are implemented in the StreamPref Data Stream Management System (DSMS) prototype. The StreamPrefGen is composed of tools to generate streams, relations, queries and auxiliary files for the execution of experiments with StreamPref. Please see the related publications for more information.

Generators

The StreamPrefGen is composed by individual dataset generators for evaluation of specific StreamPref operators. The generators are the following:

Algorithms

Except by the utilgen.py, all tools generate StremPref environments for evaluating their operators. Each operator can be evaluated by one or more algorithms and by a CQL equivalent query. The available algorithms for each operator are the following:

The goal of the utilgen.py is to execute experiments to analyze the utility of the operators. This tool execute experiments using the following combinations of operators:

Parameters

The experiments parameters must be updated directly in the source code. The available parameters are the following:

Every parameter is dictionary with the keys VAR (list of values) and DEF (default parameter).

Command Line

Despite StreamPrefGen is composed by many generators, all of them share the same command line options.

gen.py [-h] [-g] [-o] [-r] [-s]
  -h, --help       show the help message and exit
  -g, --gen        Generate files
  -o, --output     Generate query output
  -r, --run        Run experiments
  -s, --summarize  Summarize results