Package transsys :: Class Factor
[hide private]
[frames] | no frames]

Class Factor

source code

object --+
         |
        Factor

Class representing a transsys factor.

Instance Methods [hide private]
 
__init__(self, name, decay_expr, diffusibility_expr, dot_attrs=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__str__(self)
str(x)
source code
 
resolve(self, tp) source code
 
unresolved_copy(self) source code
 
getDecayValueNodes(self)
get all constant value expression nodes in the decay expression.
source code
 
getDiffusibilityValueNodes(self)
get all constant value expression nodes in the diffusiblility expression.
source code
 
getValueNodes(self)
get all constant value expression nodes controlling the factor's behaviour.
source code
 
getDecayIdentifierNodes(self)
get all identifier expression nodes in the decay expression.
source code
 
getDiffusibilityIdentifierNodes(self)
get all identifier expression nodes in the diffusiblility expression.
source code
 
getIdentifierNodes(self)
get all identifier expression nodes controlling the factor's behaviour.
source code
 
write_dot_node(self, f, dot_parameters, transsys) source code
 
canonicalise(self) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Instance Variables [hide private]
list of strings comments
comments pertaining to the factor
ExpressionNode subclass decay_expression
expression to compute the factor's decay rate
ExpressionNode subclass diffusibility_expression
expression to compute the factor's diffusibility
dictionary, keys are attribute names, values are attribute values dot_attributes
attributes for rendering the factor in the dot (graphviz) language
string name
the factor's name
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, name, decay_expr, diffusibility_expr, dot_attrs=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)