Search in sources :

Example 1 with Trace

use of de.prob.statespace.Trace in project prob2 by bendisposto.

the class ExecuteRun method executeModel.

private void executeModel(final StateSpace stateSpace) {
    Trace t = new Trace(stateSpace);
    this.rootState = t.getCurrentState();
    executeModelCommand = new ExecuteModelCommand(stateSpace, t.getCurrentState(), maxNumberOfStatesToBeExecuted, continueAfterErrors, timeout);
    stateSpace.execute(executeModelCommand);
}
Also used : Trace(de.prob.statespace.Trace) ExecuteModelCommand(de.prob.animator.command.ExecuteModelCommand)

Example 2 with Trace

use of de.prob.statespace.Trace in project prob2 by bendisposto.

the class InvariantCheckCounterExample method getTrace.

@Override
public Trace getTrace(final StateSpace s) {
    Trace t = new Trace(s);
    t = t.add(step1);
    t = t.add(step2);
    return t;
}
Also used : Trace(de.prob.statespace.Trace)

Example 3 with Trace

use of de.prob.statespace.Trace in project prob2 by bendisposto.

the class CBCDeadlockFound method getTrace.

@Override
public Trace getTrace(final StateSpace s) {
    Trace t = new Trace(s);
    t = t.add(transition);
    return t;
}
Also used : Trace(de.prob.statespace.Trace)

Example 4 with Trace

use of de.prob.statespace.Trace in project prob2 by bendisposto.

the class LTLCounterExample method getTrace.

@Override
public Trace getTrace(final StateSpace s) {
    Trace t = new Trace(s);
    t = t.addTransitions(pathToCE);
    t = t.addTransitions(counterExample);
    return t;
}
Also used : Trace(de.prob.statespace.Trace)

Example 5 with Trace

use of de.prob.statespace.Trace in project prob2 by bendisposto.

the class RefinementCheckCounterExample method getTrace.

@Override
public Trace getTrace(StateSpace s) {
    Trace t = new Trace(s);
    t = t.add(step1);
    t = t.add(step2);
    return t;
}
Also used : Trace(de.prob.statespace.Trace)

Aggregations

Trace (de.prob.statespace.Trace)9 StateSpace (de.prob.statespace.StateSpace)4 Test (org.junit.Test)4 RulesChecker (de.prob.model.brules.RulesChecker)2 AbstractOperation (de.be4.classicalb.core.parser.rules.AbstractOperation)1 ExecuteModelCommand (de.prob.animator.command.ExecuteModelCommand)1 OperationStatus (de.prob.model.brules.OperationStatus)1