Giter Club home page Giter Club logo

twtl's Introduction

Rewriting Algorithm for Time Window Temporal Logic

Executable: twtl.native

Command-line Options

  • Interactive Verification (receives events through command-line)
./twtl.native -interactive "(A holds_for 3) within [0,5]"
  • Automatic Verification (accepts a folder which contains traces, e.g., t1.trace, t2.trace, etc.)

  • Format for the trace file:

0 A B C
1 A
2 A
3 A B C D E
  • Example ("traces" is a folder name)
./twtl.native -automatic "(A holds_for 3) within [0,5]" "traces"
  • Result (Time in "seconds" and Memory in "words")
====================Result========================= 
traces/t2.trace: 
Verdict = False Time = 7.1e-05 Memory = 467.
traces/t6.trace: 
Verdict = True Time = 0.000144 Memory = 386.
traces/t1.trace: 
Verdict = True Time = 5.1e-05 Memory = 386.
traces/t10.trace: 
Verdict = False Time = 8.2e-05 Memory = 467.
traces/t3.trace: 
Verdict = True Time = 6.1e-05 Memory = 386.
traces/t7.trace: 
Verdict = False Time = 8.8e-05 Memory = 467.
traces/t5.trace: 
Verdict = True Time = 5.2e-05 Memory = 386.
traces/t9.trace: 
Verdict = False Time = 0.000101 Memory = 467.
traces/t4.trace : 
Verdict = True Time = 6.4e-05 Memory = 386.
traces/t8.trace: 
Verdict = False Time = 0.000123 Memory = 467.
=================================================== 

Examples for Syntax

A holds_for 3
(A holds_for 3) * (B holds_for 3)
(A holds_for 3) within [0,5]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.