First page Back Continue Last page Overview Graphics
Fact
class Fact( object ):
"""A measurement plus the entities,
- which characterize that measurement.
- """
def __init__( self, value, *entitys ):
self.dim= entitys
self.value= value
for e in self.dim:
e.append( self )
def __str__( self ):
return "%s, %s" % (
",".join( map(str,self.dim) ), self.value )