Skip to content

Commit

Permalink
turned the delta submodule into a jar file dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
szdan97 committed Sep 17, 2021
1 parent 2635909 commit 1928756
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# TT-SFT
# StoATT
Implementation of a structured mean time to first failure computation scheme for static fault trees based on the Tensor Train format.
Application of the TT-based approach for Generalized Stochastic Petri-Nets is in progress.

Usage:
The CLIMain class provides a command-line interface to the tool. Use the _calc_ command for MTFF calculation.
Use the -h option to see the help page with all the available options.
Example for computing the MTFF (-m 1, because we need the first moment of the failure time) of
the dft described by galileofile.dft, using the AMEn-ALS solver with enrichment 4 and dampening factor 1e-5:
```
java -jar ttreltool.jar calc -f galileofile.dft -m 1 -s AMEn-ALS --enrichment 4 --damp 1e-5
java -jar stoatt.jar sft calc -f galileofile.dft -m 1 -s AMEn-ALS --enrichment 4 --damp 1e-5
```
4 changes: 2 additions & 2 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
rootProject.name = 'StoATT'

includeBuild '/delta/hu.bme.mit.delta.collections'
includeBuild '/delta/hu.bme.mit.delta'
//includeBuild '/delta/hu.bme.mit.delta.collections'
//includeBuild '/delta/hu.bme.mit.delta'

includeBuild 'stoatt-core'
includeBuild 'stoatt-sft'
Expand Down
10 changes: 9 additions & 1 deletion stoatt-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,15 @@ repositories {
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
compile group: 'org.ejml', name: 'ejml-all', version: '0.39'
compile "delta:hu.bme.mit.delta: 0.0.1"

compile 'com.koloboke:koloboke-api-jdk8:1.0.0'
runtime 'com.koloboke:koloboke-impl-jdk8:1.0.0'
compile 'com.google.guava:guava:23.6-jre'

compile files('../libs/hu.bme.mit.delta.collections-0.0.1.jar')
compile files('../libs/hu.bme.mit.delta-0.0.1.jar')

// compile "delta:hu.bme.mit.delta: 0.0.1"
}


Expand Down

0 comments on commit 1928756

Please sign in to comment.