示例#1
0
 def setUp(self):
     event_log_path = 'FRQ4 input files/FRQ4evaluationlog1.xes'
     dcr_graph_path = 'FRQ4 input files/FRQ4_evaluation.xml'
     self.dcr_graph = DCRGraph.get_graph_instance(dcr_graph_path)
     self.event_log = eventlog_parser.get_event_log(event_log_path)
     self.ca = ConformanceAnalysisData()
     cc_dcr.add_dcr_graph_for_test(self.dcr_graph)
     for trace in self.event_log.Traces:
         cc_dcr.perform_conformance_checking(trace, self.ca)
示例#2
0
 def setUp(self):
     """
     Set up unit test environment
     """
     event_log_path = 'FRQ7 input files/FRQ7evaluationlog2.xes'
     dcr_graph_path = 'FRQ7 input files/FRQ7_evaluation (4).xml'
     self.dcr_graph = DCRGraph.get_graph_instance(dcr_graph_path)
     self.event_log = eventlog_parser.get_event_log(event_log_path)
     self.ca = ConformanceAnalysisData()
     cc_dcr.add_dcr_graph_for_test(self.dcr_graph)
     for trace in self.event_log.Traces:
         cc_dcr.perform_conformance_checking(trace, self.ca)
示例#3
0
 def setUp(self):
     """
     Set up unit test environment
     """
     event_log_path = 'FRQ8 input files/FRQ8evaluationlog1.xes'
     dcr_graph_path = 'FRQ8 input files/FRQ8_evaluation10.xml'
     self.dcr_graph = DCRGraph.get_graph_instance(dcr_graph_path)
     self.event_log = eventlog_parser.get_event_log(event_log_path)
     self.ca = ConformanceAnalysisData()
     cc_dcr.add_dcr_graph_for_test(self.dcr_graph)
     for trace in self.event_log.Traces:
         cc_dcr.perform_conformance_checking(trace, self.ca)
     self.violated_traces = self.ca.create_violated_traces_dict()