de.rwth.i2.attestorExamples.RefSLL Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of attestor-examples Show documentation
Show all versions of attestor-examples Show documentation
Collection of executable benchmarks for Attestor.
package de.rwth.i2.attestorExamples;
import jmhBenchmarkHelper.BenchmarkHelper;
import org.openjdk.jmh.annotations.Benchmark;
import de.rwth.i2.attestor.main.Attestor;
public class RefSLL {
@Benchmark
public void reverse() {
BenchmarkHelper.builder()
.expectTotalStates(93)
.expectMainProcedureStates(49)
.expectFinalStates(1)
.build()
.run();
}
@Benchmark
public void reverseWithInitialList(){
BenchmarkHelper.builder()
.expectTotalStates(46)
.expectMainProcedureStates(46)
.expectFinalStates(1)
.build()
.run();
}
@Benchmark
public void MC_Completeness_traverseWithInitialList(){
BenchmarkHelper.builder()
.expectTotalStates(47)
.expectMainProcedureStates(47)
.expectFinalStates(2)
.expectLTLResults(true)
.build()
.run();
}
@Benchmark
public void MC_Completeness_traverseWithInitialListWithNullVisit(){
BenchmarkHelper.builder()
.expectTotalStates(162)
.expectMainProcedureStates(162)
.expectFinalStates(2)
.expectLTLResults(true)
.build()
.run();
}
@Benchmark
public void MC_NeighbourhoodPreservance_traverseWithInitialList(){
BenchmarkHelper.builder()
.expectTotalStates(97)
.expectMainProcedureStates(97)
.expectFinalStates(2)
.expectLTLResults(true)
.build()
.run();
}
@Benchmark
public void MC_Reach_traverseWithInitialList(){
BenchmarkHelper.builder()
.expectTotalStates(44)
.expectMainProcedureStates(44)
.expectFinalStates(1)
.expectLTLResults(true)
.build()
.run();
}
@Benchmark
public void MC_Shape_traverseWithInitialList(){
BenchmarkHelper.builder()
.expectTotalStates(29)
.expectMainProcedureStates(29)
.expectFinalStates(1)
.expectLTLResults(true)
.build()
.run();
}
@Benchmark
public void MC_Completeness_reverseWithInitialList(){
BenchmarkHelper.builder()
.expectTotalStates(170)
.expectMainProcedureStates(170)
.expectFinalStates(2)
.expectLTLResults(true)
.build()
.run();
}
@Benchmark
public void MC_NeighbourhoodPreservance_reverseWithInitialList(){
BenchmarkHelper.builder()
.expectTotalStates(381)
.expectMainProcedureStates(381)
.expectFinalStates(4)
.expectLTLResults(false)
.expectNoCounterexamples(1)
.build()
.run();
}
@Benchmark
public void MC_Reach_reverseWithInitialList(){
BenchmarkHelper.builder()
.expectTotalStates(76)
.expectMainProcedureStates(76)
.expectFinalStates(1)
.expectLTLResults(true)
.build()
.run();
}
@Benchmark
public void MC_Shape_reverseWithInitialList(){
BenchmarkHelper.builder()
.expectTotalStates(55)
.expectMainProcedureStates(55)
.expectFinalStates(1)
.expectLTLResults(true)
.build()
.run();
}
@Benchmark
public void CEG_reverse(){
BenchmarkHelper.builder()
.expectLTLResults(false)
.expectNoCounterexamples(1)
.build()
.run();
}
}