/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package svgconverter;

/**
 *
 * @author Pap
 */
public class Config {

    public static final boolean USECACHE = true;
    /********* EARTH Config ****************/

    public static final String fileName = "data/tc_control_opt.svg";
//    public static final String fileName = "data/EarthMap_320_opt.svg";
//    public static final String fileName = "data/braincontrol_opt.svg";
//    public static final String fileName = "data/family2_opt.svg";
//    public static final String fileName = "data/budspencer_opt.svg";
//    public static final String fileName = "data/olsen_opt.svg";
//    public static final String fileName = "data/farbrausch_opt.svg";
//    public static final String fileName = "data/watchmen_opt.svg";
//    public static final String fileName = "data/cheguevara_opt.svg";
//    public static final String fileName = "data/cat_opt.svg";
//    public static final String fileName = "data/samnmax_opt.svg";
//    public static final String fileName = "data/sinnbild_eisenbahn_opt.svg";
//    public static final String fileName = "data/toy_train_opt.svg";
//    public static final String fileName = "data/aiga_rail_opt.svg";
//    public static final String fileName = "data/farbrausch_opt.svg";
//    public static final String fileName = "data/haujobb_opt.svg";
//    public static final String fileName = "data/mercury_opt.svg";
//    public static final String fileName = "data/family2_opt.svg";
//    public static final String fileName = "data/still_opt.svg";
//    public static final String fileName = "data/stones_opt.svg";
//    public static final String fileName = "data/myface_opt2.svg";
//    public static final String fileName = "data/sittingbullhead_opt.svg";
//    public static final String fileName = "data/tomaha_c_opt.svg";
//    public static final String fileName = "data/android-logo_opt.svg";
//    public static final String fileName = "data/EarthMap_1000_opt.svg";
//    public static final String fileName = "data/02_adler2_opt.svg";
//    public static final String fileName = "data/vogels2_opt.svg";
//    public static final String fileName = "data/vogels2_opt.svg";
//    public static final String fileName = "data/kopf_opt.svg";
//    public static final String fileName = "data/stier_opt.svg";
//    public static final String fileName = "data/kreis_opt.svg";
//    public static final String fileName = "data/nurwal_opt.svg";
//    public static final String fileName = "data/frau_opt.svg";
//    public static final String fileName = "data/test.svg";

    public static final int MOVE_COORD_BITS =  16; //Default: 13

    public static final int MIN_MAX_BITS = 16;
    public static final int PATH_SEGMENTCNT_BITS = 7;
    public static final int MIN_PATH_BITS = 5;
    public static final int AVG_PATH_BITS = 8;
    public static final int MAX_PATH_BITS = 15;
    public static final int PATH_BITS_BITS = 6;
    public static final int CACHE_IDX_BITS = 12;
    public static final int CACHE_LEN_BITS = 7;

    public static final double MAX_ERROR = 0.0001;
/**/

    /********* WALKRANZ Config ****************/
/*
    public static final String fileName = "data/nurkranz_opt.svg";
    public static final double viewScaleX = 4.5;
    public static final double viewScaleY = 4.5;
    public static final double GSCALE = 0.25;

    public static final int MOVE_COORD_BITS_LOW_PREC = 0;
    public static final int MOVE_COORD_BITS = 9 + MOVE_COORD_BITS_LOW_PREC;

    public static final int MIN_MAX_PREC = 0;
    public static final int MIN_MAX_BITS = 7 + MIN_MAX_PREC;
    public static final int PATH_SEGMENTCNT_BITS = 6;
    public static final int MIN_PATH_BITS = 4;
    public static final int PATH_BITS_BITS = 2;

    public static final double MAX_ERROR = 0.001;
/**/

    /********* WAL Config ****************/
/*
    public static final String fileName = "data/nurwal_opt.svg";
    public static final double viewScaleX = 3.5;
    public static final double viewScaleY = 3.5;
    public static final double GSCALE = 0.38;

    public static final int MOVE_COORD_BITS_LOW_PREC = 0;
    public static final int MOVE_COORD_BITS = 9 + MOVE_COORD_BITS_LOW_PREC;

    public static final int MIN_MAX_PREC = 0;
    public static final int MIN_MAX_BITS = 6 + MIN_MAX_PREC;
    public static final int PATH_SEGMENTCNT_BITS = 6;
    public static final int MIN_PATH_BITS = 4;
    public static final int PATH_BITS_BITS = 2;

    public static final double MAX_ERROR = 0.001;
/**/


    /********* FRAU Config ****************/
/*
    public static final String fileName = "data/frau_opt.svg";
    public static final double viewScaleX = 3.8;
    public static final double viewScaleY = 3.8;
    public static final double GSCALE = 0.2;

    public static final int MOVE_COORD_BITS_LOW_PREC = 0;
    public static final int MOVE_COORD_BITS = 9 + MOVE_COORD_BITS_LOW_PREC;

    public static final int MIN_MAX_PREC = 0;
    public static final int MIN_MAX_BITS = 8 + MIN_MAX_PREC;
    public static final int PATH_SEGMENTCNT_BITS = 7;
    public static final int MIN_PATH_BITS = 4;
    public static final int PATH_BITS_BITS = 3;

    public static final double MAX_ERROR = 0.0001;
/**/


    /********* KREIS Config ****************/
/*
    public static final String fileName = "data/kreis_opt.svg";
    public static final double viewScaleX = 3.8;
    public static final double viewScaleY = 3.8;
    public static final double GSCALE = 0.35;

    public static final int MOVE_COORD_BITS_LOW_PREC = 0;
    public static final int MOVE_COORD_BITS = 9 + MOVE_COORD_BITS_LOW_PREC;

    public static final int MIN_MAX_PREC = 0;
    public static final int MIN_MAX_BITS = 7 + MIN_MAX_PREC;
    public static final int PATH_SEGMENTCNT_BITS = 6;
    public static final int MIN_PATH_BITS = 4;
    public static final int PATH_BITS_BITS = 3;

    public static final double MAX_ERROR = 0.001;
/**/

    /********* STIER Config ****************/
/*
    public static final String fileName = "data/stier_opt.svg";
    public static final double viewScaleX = 5.0;
    public static final double viewScaleY = 5.0;
    public static final double GSCALE = 0.2;

    public static final int MOVE_COORD_BITS_LOW_PREC = 0;
    public static final int MOVE_COORD_BITS = 9 + MOVE_COORD_BITS_LOW_PREC;

    public static final int MIN_MAX_PREC = 0;
    public static final int MIN_MAX_BITS = 7 + MIN_MAX_PREC;
    public static final int PATH_SEGMENTCNT_BITS = 6;
    public static final int MIN_PATH_BITS = 4;
    public static final int PATH_BITS_BITS = 3;

    public static final double MAX_ERROR = 0.01;
/**/

    
    /********* KOPF Config ****************/
/*
    public static final String fileName = "data/kopf_opt.svg";
    public static final double viewScaleX = 3.0;
    public static final double viewScaleY = 3.0;
    public static final double GSCALE = 0.2;

    public static final int MOVE_COORD_BITS_LOW_PREC = 0;
    public static final int MOVE_COORD_BITS = 9 + MOVE_COORD_BITS_LOW_PREC;

    public static final int MIN_MAX_PREC = 0;
    public static final int MIN_MAX_BITS = 5 + MIN_MAX_PREC;
    public static final int PATH_SEGMENTCNT_BITS = 8;
    public static final int MIN_PATH_BITS = 4;
    public static final int PATH_BITS_BITS = 0;

    public static final double MAX_ERROR = 0.01;
/**/


    /********* ADLER Config ****************/
/*
    public static final String fileName = "data/adler_opt.svg";
    public static final double viewScaleX = 7.0;
    public static final double viewScaleY = 7.0;
    public static final double GSCALE = 0.155;

    public static final int MOVE_COORD_BITS_LOW_PREC = 0;
    public static final int MOVE_COORD_BITS = 9 + MOVE_COORD_BITS_LOW_PREC;

    public static final int MIN_MAX_PREC = 0;
    public static final int MIN_MAX_BITS = 7 + MIN_MAX_PREC;
    public static final int PATH_SEGMENTCNT_BITS = 6;
    public static final int MIN_PATH_BITS = 4;
    public static final int PATH_BITS_BITS = 3;

    public static final double MAX_ERROR = 0.00003;
/**/

    /**** VARIABLES ****/
    public static int PATH_COORD_LEN_BITS = 0;
    public static int PATH_COORD_ANGLE_BITS = 0;
}
