Package de.timefinder.data.algo

Examples of de.timefinder.data.algo.DataPoolSettings


    @Override
    public void setUp() {
        super.setUp();
        setupLog();
        settings = new DataPoolSettings();
    }
View Full Code Here


    @Override
    protected void doOnce() {
        checkIfDataIsAlreadyAvailable();
        closeAllViews();

        DataPoolSettings settings = track2allData.getSettings();

        int ret = JOptionPane.showConfirmDialog(null, tr.get(ID + ".question",
                settings.getNumberOfDays(), settings.getTimeslotsPerDay()));
        if (ret != JOptionPane.OK_OPTION)
            return;

        track2allData.changeSettings();
        ApplicationWindow aw = getApplicationWindow();
View Full Code Here

        dataPool.setDao(fDao);
        dataPool.setDao(pDao);
        dataPool.setDao(lDao);

        // 1 hour
        DataPoolSettings settings = new DataPoolSettings();
        settings.setMillisPerTimeslot(60 * 60 * 1000L);
        settings.setNumberOfDays(5);
        // 9 hours per day
        settings.setTimeslotsPerDay(9);

        NoCollisionPrinciple ncpInstance = new NoCollisionPrinciple();
        ncpInstance.setRandom(new Random(seed));//123456L
        ncpInstance.setCondition(new AlgorithmConditionTime(seconds));
        ncpInstance.setDataPoolSettings(settings);
View Full Code Here

TOP

Related Classes of de.timefinder.data.algo.DataPoolSettings

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.