Package barsuift.simLife.process

Examples of barsuift.simLife.process.SplitConditionalTaskState


     * </ul>
     */
    public static SplitConditionalTaskState createRandomSplitConditionalTaskState() {
        ConditionalTaskState conditionalTask = createRandomConditionalTaskState();
        int stepSize = Randomizer.randomBetween(2, 5);
        return new SplitConditionalTaskState(conditionalTask, stepSize);
    }
View Full Code Here


     * </ul>
     */
    public static SplitConditionalTaskState createSpecificSplitConditionalTaskState() {
        ConditionalTaskState conditionalTask = createSpecificConditionalTaskState();
        int stepSize = 3;
        return new SplitConditionalTaskState(conditionalTask, stepSize);
    }
View Full Code Here

public class Gravity3DState implements State {

    private SplitConditionalTaskState gravityTask;

    public Gravity3DState() {
        this.gravityTask = new SplitConditionalTaskState();
    }
View Full Code Here

public class Gravity3DStateFactory {

    public Gravity3DState createGravity3DState() {
        ConditionalTaskStateFactory taskFactory = new ConditionalTaskStateFactory();
        SplitConditionalTaskState gravityTaskState = taskFactory.createSplitConditionalTaskState(GravityTask.class);
        return new Gravity3DState(gravityTaskState);
    }
View Full Code Here

    public static Physics3DState createSpecificPhysics3DState() {
        return new Physics3DState();
    }

    public static Gravity3DState createRandomGravity3DState() {
        SplitConditionalTaskState gravityTask = UtilDataCreatorForTests.createRandomSplitConditionalTaskState();
        return new Gravity3DState(gravityTask);
    }
View Full Code Here

        SplitConditionalTaskState gravityTask = UtilDataCreatorForTests.createRandomSplitConditionalTaskState();
        return new Gravity3DState(gravityTask);
    }

    public static Gravity3DState createSpecificGravity3DState() {
        SplitConditionalTaskState gravityTask = UtilDataCreatorForTests.createSpecificSplitConditionalTaskState();
        return new Gravity3DState(gravityTask);
    }
View Full Code Here

TOP

Related Classes of barsuift.simLife.process.SplitConditionalTaskState

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.