(self)
return summary
Returns a string containing basic summary statistics 
        of this higher-order graphical model instance
Returns a string containing basic summary statistics 
        of this higher-order graphical model instance
Returns a string containing basic summary statistics of this higher - order graphical model instance
def summary(self):
        """ 
        Returns a string containing basic summary statistics 
        of this higher-order graphical model instance
        """

        summary = 'Graphical model of order k = ' + str(self.order)
        summary += '\n'
        summary += 'Nodes:\t\t\t\t' +  str(self.vcount()) + '\n'
        summary += 'Links:\t\t\t\t' + str(self.ecount()) + '\n'
        summary += 'Total weight (sub/longest):\t' + str(self.totalEdgeWeight()[0]) + '/' + str(self.totalEdgeWeight()[1]) + '\n'
        return summary
def summary ( self ) : summary = 'Graphical model of order k = ' + str ( self . order ) summary += '\n' summary += 'Nodes:\t\t\t\t' + str ( self . vcount ( ) ) + '\n' summary += 'Links:\t\t\t\t' + str ( self . ecount ( ) ) + '\n' summary += 'Total weight (sub/longest):\t' + str ( self . totalEdgeWeight ( ) [ 0 ] ) + '/' + str ( self . totalEdgeWeight ( ) [ 1 ] ) + '\n' return summary