Skylark (Sketching Library)  0.1
/var/lib/jenkins/jobs/Skylark/workspace/sketch/sketch_params.hpp
Go to the documentation of this file.
00001 #ifndef SKYLARK_SKETCH_PARAMS_HPP
00002 #define SKYLARK_SKETCH_PARAMS_HPP
00003 
00004 
00005 namespace skylark { namespace sketch {
00006 
00010 int blocksize = 0;
00011 
00012 double factor = 20.;
00013 
00014 void set_blocksize(int blocksize) {
00015     skylark::sketch::blocksize = blocksize;
00016 }
00017 
00018 int get_blocksize() {
00019     return skylark::sketch::blocksize;
00020 }
00021 
00022 void set_factor(double factor) {
00023     skylark::sketch::factor = factor;
00024 }
00025 
00026 double get_factor() {
00027     return skylark::sketch::factor;
00028 }
00029 
00030 } } 
00032 #endif // SKYLARK_SKETCH_PARAMS_HPP