Package gavo :: Package stc :: Module eq :: Class EquivalenceCondition
[frames] | no frames]

Class EquivalenceCondition

source code

object --+
         |
        EquivalenceCondition
Known Subclasses:

A base class for EquivalencePolicy elements.

An EquivalenceCondition has a check(sys1, sys2) -> boolean method. Everything else is up to the individual objects.

Instance Methods
 
check(self, sys1, sys2)
returns true when sys1 and sys2 are equivalent as far as this condition is concerned.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

check(self, sys1, sys2)

source code 

returns true when sys1 and sys2 are equivalent as far as this condition is concerned.

sysN are dm.CoordSys instances.