Home | Trees | Index | Help |
|
---|
Package lemon :: Package external :: Package gadfly :: Module semantics :: Class BTPredicate |
|
SimpleRecursive
--+
|
BTPredicate
BTand_pred
,
BTnot_pred
,
BTor_pred
,
NontrivialEqPred
superclass for bound tuple predicates. Eventually should be modified to use "compile" for speed to generate an "inlined" evaluation function. self(bt) returns bt with additional equality constraints (possible) or None if predicate fails.
Method Summary | |
---|---|
default interpretation: True. | |
NOTE: all subclasses must define an __and__!!!... | |
apply self to sequence of assignments... | |
__cmp__(self,
other)
| |
__hash__(self)
| |
__invert__(self)
| |
__or__(self,
other)
| |
__repr__(self)
| |
hook added to allow elimination of trivialities return None if completely true, or simpler form or self, if no simplification is possible. | |
domain(self)
| |
initargs(self)
| |
equality constraints always false of satisfactory tuple. | |
relbind(self,
dict,
db)
| |
uncache(self)
| |
Inherited from SimpleRecursive | |
| |
|
Class Variable Summary | |
---|---|
NoneType |
constraints = None |
int |
contains_aggregate = 0 |
int |
false = 0 |
Method Details |
---|
__init__(self,
constraints=None)
|
__and__(self,
other)
|
__call__(self,
assignments,
toplevel=0)
|
detrivialize(self)hook added to allow elimination of trivialities return None if completely true, or simpler form or self, if no simplification is possible. |
negated_constraints(self)equality constraints always false of satisfactory tuple. |
Class Variable Details |
---|
constraints
|
contains_aggregate
|
false
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Mon Nov 10 15:08:32 2003 | http://epydoc.sf.net |