Skip to content

Commit

Permalink
TCI
Browse files Browse the repository at this point in the history
  • Loading branch information
TheColdIce committed Nov 28, 2023
1 parent 72448b5 commit e666a2a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ Dependencies: python3.7, java, maven
## Specify parameters (with examples)

### conf.json

The conf.json file contains parameters for the generel behaviour of the accounts and paths to the other files, the paths are relative to the conf.json file. A example looks like this:
```
{
Expand Down Expand Up @@ -153,6 +154,7 @@ The conf.json file contains parameters for the generel behaviour of the accounts
The margin a SAR account takes when passing money through it.

### account.csv

The accounts.csv file contains the initial conditions for the accounts. It has the following columns:
* **count**: (int) The number of accounts to generate.
* **min_balance, max_balance**: (int) The minimum and maximum inital balance of the accounts. The inital balance is sampled from a uniform distribution.
Expand All @@ -172,6 +174,12 @@ count,min_balance,max_balance,country,business_type,bank

### normalModels.csv

normalModels.csv contains the normal transaction patterns of the accounts. It has the following columns:
* **counts**: (int) The number of patterns to generate.
* **type**: (string) The type of the pattern. Can be "single", "fan_out", "fan_in", "forward", "mutual" or "periodical". Se below for pattern definitions.
* **schedule_id**: (int) The id of the schedule to use for the pattern. Can be 0, 1, 2 or 3. Se below for schedule definitions.
* **min_accounts, max_accounts**: (int) The minimum and maximum number of accounts in the pattern. The simulator will find subsets of accounts where the pattern fitts and sample from these. The number of subsets will depend on the min and max and on the structure of the network, defined in degree.csv. Some patterns has a fixed number of accounts, se pattern definition for more information.

### alertPatterns.csv

### degree.csv
Expand Down

0 comments on commit e666a2a

Please sign in to comment.