class TMStats - Class that implements statistical and printing methods for TMs

Declared in module tmutils

Synopsis

class TMStats:
    def __init__(self, writer=<open file '<stdout>', mode 'w' at 80b2eb0>) # Initialize a new instance.
    def print_association(self, association, tm) # Print information about this association.
    def print_facet(self, facet, tm) # Print information about this facet.
    def print_header(self, title, char='-', length=75) # Print a header.
    def print_tm_associations(self, tm) # Print information about the associations in the Topic Map.
    def print_tm_facets(self, tm) # Print information about the facets in the Topic Map.
    def print_tm_information(self, tm) # Print complete information about the Topic Map.
    def print_tm_statistics(self, tm) # Print statistics about the Topic Map.
    def print_tm_topics(self, tm) # Print information about the topics in the Topic Map.
    def print_topic(self, topic, tm) # Print information about this topic.
    def set_writer(self, writer) # Set the output stream to use.