예제 #1
0
파일: latex2.py 프로젝트: vakaras/rmtoo-old
 def output_latex_topic_set(self, topic_set, ce3set):
     fd = file(self.filename, "w")
     # The TopicSet itself needs no output.
     self.output_latex_topic(fd, topic_set.get_master(), ce3set)
     constraints = Constraints.collect(topic_set)
     self.output_latex_constraints(fd, topic_set, constraints)
     fd.close()
예제 #2
0
 def topic_set_post(self, topic_set):
     '''Print out the constraints and clean up file.'''
     tracer.debug("Called; output constraints.")
     assert topic_set is not None
     constraints = Constraints.collect(topic_set)
     self.__output_latex_constraints(constraints)
     testcases = collect(topic_set)
     self.__output_latex_testcases(testcases)
     tracer.debug("Clean up file.")
     self.__fd.close()
     tracer.debug("Finished.")
예제 #3
0
 def topic_set_post(self, topic_set):
     '''Print out the constraints and clean up file.'''
     tracer.debug("Called; output constraints.")
     assert topic_set is not None
     constraints = Constraints.collect(topic_set)
     self.__output_latex_constraints(constraints)
     testcases = collect(topic_set)
     self.__output_latex_testcases(testcases)
     tracer.debug("Clean up file.")
     self.__fd.close()
     tracer.debug("Finished.")
예제 #4
0
파일: latex2.py 프로젝트: hagenw/ltfat
 def topic_set_post(self, topic_set):
     """Print out the constraints and clean up file."""
     tracer.debug("Called; output constraints.")
     if topic_set == None:
         assert False
     constraints = Constraints.collect(topic_set)
     self.__output_latex_constraints(constraints)
     testcases = TestCases.collect(topic_set)
     self.__output_latex_testcases(testcases)
     tracer.debug("Clean up file.")
     self.__fd.close()
     tracer.debug("Finished.")
예제 #5
0
 def set_default_values(cfg):
     '''Calls the appropriate functions to set the default
        configuration values.'''
     Constraints.set_default_values(cfg)
예제 #6
0
 def set_default_values(cfg):
     '''Calls the appropriate functions to set the default
        configuration values.'''
     Constraints.set_default_values(cfg)