diff options
author | Niclas Dobbertin <niclas.dobbertin@mailbox.org> | 2023-08-18 10:23:47 +0200 |
---|---|---|
committer | Niclas Dobbertin <niclas.dobbertin@mailbox.org> | 2023-08-18 10:23:47 +0200 |
commit | 11bab9715e6f68c3d90b4ba04a3b2e54f43c06a3 (patch) | |
tree | e4ea60274b0da227af0f3c6a02688c891764bed6 /master_thesis/elio_procedures.py | |
parent | 395c6ea6abd9838c214f90e46b21633ec185dbc6 (diff) |
procedure randomisation
Diffstat (limited to 'master_thesis/elio_procedures.py')
-rw-r--r-- | master_thesis/elio_procedures.py | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/master_thesis/elio_procedures.py b/master_thesis/elio_procedures.py deleted file mode 100644 index cd4848e..0000000 --- a/master_thesis/elio_procedures.py +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python3 - - -class Procedure: - pass - - -class Variable: - def __init__(self, name: str, subscript: int = 0): - self.name = name - self.subscript = subscript - - - def __str__(self): - return f"{self.name}_{self.subscript}" - - def get_result(self, Variables: dict): - if not self.subscript: - return Variables[self.name] - else: - return Variables - -x = Variable("solid", 2) -print(x) |