コード例 #1
0
ファイル: tool_pysim.py プロジェクト: stanleybak/hyst
    def __init__(self):
        self._pysim_model = None
        self._result = None
        self._init_states = None # saved befetween run_tool and make_image

        python_path = sys.executable
        HybridTool.__init__(self, 'pysim', '.py', python_path)
コード例 #2
0
ファイル: tool_hylaa.py プロジェクト: carptj/hyst
    def __init__(self):
        self._settings = None
        self._run_hylaa = None
        self._result = None

        python_path = sys.executable
        HybridTool.__init__(self, 'pysim', '.py', python_path)
コード例 #3
0
    def __init__(self):
        self._pysim_model = None
        self._result = None
        self._init_states = None  # saved befetween run_tool and make_image

        python_path = sys.executable
        HybridTool.__init__(self, 'pysim', '.py', python_path)
コード例 #4
0
ファイル: tool_spaceex.py プロジェクト: leanderBehr/hyst
    def _copy_model(self, temp_folder):
        '''copy the model to the temp folder and set class path variables (override)'''

        HybridTool._copy_model(self, temp_folder)

        self.cfg_path = self.model_path + ".cfg"

        shutil.copyfile(self.original_cfg_path, self.cfg_path)
コード例 #5
0
ファイル: tool_hylaa2.py プロジェクト: tianshubao1/hyst
    def __init__(self):
        self._settings = None
        self._run_hylaa = None
        self._result = None

        python_path = sys.executable + "3"  # path to python3... not 100% correct but should work for now

        HybridTool.__init__(self, 'hylaa2', '.py', python_path)
コード例 #6
0
ファイル: tool_spaceex.py プロジェクト: rongqinglee/hyst
    def load_args(self, args):
        '''initialize the class from a namespace (result of ArgumentParser.parse_args())'''
        HybridTool.load_args(self, args)
        
        if not self.original_model_path.endswith(".xml"):
            raise RuntimeError("Model path must end with .xml: " + str(self.original_model_path))

        # also setup the extra cfg path
        cfg_path = args.cfg

        if cfg_path is None:
            cfg_path = os.path.splitext(self.original_model_path)[0] + ".cfg"

        cfg_path = os.path.realpath(cfg_path)

        if not os.path.exists(cfg_path):
            raise RuntimeError('cfg file not found at path: ' + str(cfg_path))

        self.original_cfg_path = cfg_path
コード例 #7
0
ファイル: tool_flowstar.py プロジェクト: stanleybak/hyst
 def __init__(self):
     HybridTool.__init__(self, 'flowstar', '.flowstar', 'flowstar')
コード例 #8
0
ファイル: tool_flowstar.py プロジェクト: carptj/hyst
 def __init__(self):
     HybridTool.__init__(self, 'flowstar', '.flowstar', 'flowstar')
コード例 #9
0
ファイル: tool_spaceex.py プロジェクト: leanderBehr/hyst
 def __init__(self):
     HybridTool.__init__(self, "spaceex", '.xml', 'spaceex')
コード例 #10
0
 def __init__(self):
     HybridTool.__init__(self, 'hycreate', '.hyc2', 'HyCreate2.8.jar')
コード例 #11
0
ファイル: tool_hycreate.py プロジェクト: stanleybak/hyst
 def __init__(self):
     HybridTool.__init__(self, 'hycreate', '.hyc2', 'HyCreate2.8.jar')
コード例 #12
0
ファイル: tool_dreach.py プロジェクト: tianshubao1/hyst
 def __init__(self):
     HybridTool.__init__(self, "dreach", '.drh', 'dReach')
コード例 #13
0
ファイル: tool_pysim.py プロジェクト: verivital/hyst
 def __init__(self):
     python_path = sys.executable
     HybridTool.__init__(self, 'pysim', '.py', python_path)
コード例 #14
0
 def __init__(self):
     python_path = sys.executable
     HybridTool.__init__(self, 'pysim', '.py', python_path)